Create a purchase register entry
Changed onCreates a purchase register entry (livre des achats) for a supplier expense.
thirdPartyId must be the ID of a provider (supplier), NOT an organization or contact (those are customers used by invoicing). Create or list providers via POST /provider, GET /providers, etc.
amount is in cents and represents the total tax-inclusive amount of the expense. Use a negative amount for a refund.
entries must split amount line by line. Each entry exposes:
- amount (cents, required) — tax-inclusive amount allocated to this line. The sum of entries[].amount must equal the parent amount.
- isPersonal (boolean, required) — true to flag the line as a personal expense (excluded from VAT and accounting books).
- vatId (number, optional) — French VAT rate identifier. Allowed values:
- 1 = 20.00 %
- 2 = 10.00 %
- 3 = 5.50 %
- 4 = 2.10 %
- 5 = Hors Taxe (no VAT)
- 6 = 8.50 % (DOM-TOM)
- 7 = Union Européenne (intra-EU acquisition, reverse-charged)
- 8 = Hors UE (extra-EU acquisition)
- accountingAccountNumber (number, optional) — French chart-of-accounts number forced for this line (e.g. 606300, 622600, 445660). When omitted, Abby applies a default account based on the entry type.
paymentMethodUsed uses the legacy PaymentMethod enum (e.g. CASH, BANK_CARD, BANK_TRANSFER, CHECK, OTHER). Pass otherPaymentMethodUsed only when paymentMethodUsed = OTHER.
Request
- Base URL: https://api.abby.fr
- URL: https://api.abby.fr/v3/purchaseRegister
- Auth: HTTP bearer
Request body
Response
Purchase register entry created successfully
Changes
- breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the
///response's property type changed fromobjecttostring, and format from no format todate-timefor status - breaking
the
///response's property type changed fromobjecttostringfor status - breaking
the
///response's property type changed fromobjecttostringfor status - breaking
the
///response's property type changed fromobjectto no type for status - breaking
the
///response's property type changed fromobjectto no type for status - breaking
the
///response's property type changed fromobjecttostringfor status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - info
added to the
///response propertyallOflist for the response status - info
added to the
///response propertyallOflist for the response status - info
the response property
///became required for the status
- breaking