Skip to main content
Metadata on a credit_note object allows you to store additional structured information and context. This is especially useful when integrating Lago with external systems. For example, after creating a credit note, you can save your government-issued credit note ID, the synchronization status with your ERP, or any internal reference needed for your workflows.
Metadata is stored in the credit_note object but is not displayed on the PDF file.

Add metadata on credit note

To add metadata:
  1. Go to the credit note detail page for the credit note you want to update.
  2. Click “Add metadata.”
  3. Enter your key–value pairs.
  4. Click Save to confirm.

Edit metadata on credit note

To edit metadata on a credit note:
  1. Navigate to the credit note detail page.
  2. Click “Edit metadata.”
  3. Add, update key–value pairs.
  4. Save your changes.

Delete metadata on credit note

To delete metadata on a credit note:
  1. Open the credit note detail page.
  2. Click “Edit metadata.”
  3. Click the trash icon next to the key–value pair you want to remove.
  4. Save your changes.

Credit note metadata limitations

  1. A maximum of 50 metadata key–value pairs is allowed per credit note.
  2. Keys must be strings of up to 40 characters.
  3. Values must be strings of up to 255 characters.