invoice

Create a new invoice with a customerId that can be a contactId or an organizationId

post/v2/billing/invoice/{customerId}

Path parameters

customerIdstring required

Response

Invoice created successfully

idstring required
numberstring
titlestring

Title of the billing document

type1 | 2 | 3 | 4 | 5 required
statestring required
locale'fr' | 'en' | 'de' | 'it' | 'nl' | 'pt' | 'es' required
emittedAtnumber required
archivedAtnumber
lockedboolean
finalizableboolean required
testboolean required
isEditableboolean required
currencyCode'EUR' | 'GBP' | 'CHF' | 'USD' | 'AUD' | 'CAD' | 'JPY' | 'CNH' | 'CZK' | 'DKK' | 'BGN' | 'PLN' | 'HUF' | 'RON' | 'SEK' | 'NOK' | 'TRY' | 'BRL' | 'HKD' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'XPF' | 'XOF' | 'XAF' required

Preferred currency of the customer

lastDownloadAtnumber
createdAtnumber required
updatedAtnumber required
deliveryDatenumber
compatibilityVersion'V1' | 'V2' | 'V3' required
isDeletableboolean required
displayDeliveryAddressboolean required
finalizedAtnumber
lastSendByEmailAtnumber
themeIdstring

ID of the theme applied to this document when set

paymentDelay'at_reception' | 'end_of_month' | 'seven_days' | 'ten_days' | 'fifteen_days' | 'thirty_days' | 'thirty_days_end_of_month' | 'forty_five_days' | 'forty_five_days_end_of_month' | 'sixty_days' | 'sixty_days_end_of_month' | 'ninety_days' | 'ninety_days_end_of_month' | 'one_hundred_and_twenty_days' | 'other' required
dueAtnumber required
paidAtnumber
lastReminderSentAtnumber
isReminderActivatedboolean required
isOnlinePaymentActivatedboolean required
isFinalInvoiceboolean required
hasAssociatedTransactionboolean required

Indicates if the customer has an associated transaction

includeDiscountDisbursementboolean required
expiredAtnumber
canceledAtnumber

Changes

No recorded changes to this endpoint across all 1 revision of this API.