Credit notes
Last updated
Was this helpful?
Last updated
Was this helpful?
Authentication: endpoints listed in this page require with a user token.
GET
https://{domain}.biapi.pro/2.0/users/{userId}/credit_notes
userId*
Integer or "me"
ID of the related user.
all
Value-less
Flag to include deleted credit notes.
limit*
Integer
Number of credit notes to return. The maximum value is 100.
Response body: CreditNotesList object
GET
https://{domain}.biapi.pro/2.0/users/{userId}/credit_notes/{credit_notesId}
Get a single credit note by ID.
userId*
Integer or "me"
ID for the related user.
credit_notesId*
Integer
ID of the credit note.
Response body: CreditNote object
credit_notes
List of credit notes.
id
Integer
ID of the invoice.
id_user
Integer
ID of the related user.
id_connection
Integer
ID of the related connection.
id_connection_source
Integer
ID of the related connection source.
id_invoice
Integer
ID of the related invoice.
number
String
Credit notes number.
memo
String or null
Memo of the credit note.
issue_date
DateTime or nuIl
Issue date of the credit note.
created
DateTime
Creation date of the credit note.
total_amount
Total amount of the credit note.
total_amount_exclusing_tax
Total amount excluding the tax of the credit note.
total_tax_amount
Total tax amount of the credit note.
total_discount_amount
Total discount amount of the invoice.
amount_paid_out_of_platform
Integer or null
shipping_amount
Shipping amount of the credit note.
reason
Reason of the credit note
type
status
Status of the credit note.
scraped_date
DateTime
Date and time when the invoice was retrieved.
attachments
Original document.
last_update
DateTime
Last successful update of the credit note.
deleted
DateTime or null
Deleted date.
duplicate
Duplicate credit note.
fraudulent
Fraudulent.
order_change
Change of order.
product_unstatisfactory
Unsastifactory product.
unknown
Unknown.
pre_payment
The credit note was issued when the invoice was open.
post_payment
The credit note was issued when the invoice was paid.
void
The credit note is cancelled.
issued
The credit note is issued.
currency
String
value
Decimal or null
Value.
Array of objects
or null
or null
or null
or null
or null
or null
Array of
ID of the currency ().