BillingApi (v1)

Download OpenAPI specification:

Introduction

L'API de facturation fournit des points de terminaison pour la gestion de divers aspects de la facturation. Elle permet des opérations liées aux clients, aux produits, aux devis, aux factures (y compris différents types comme les factures commerciales, les notes de crédit et les factures de prépaiement), aux brouillons de factures, aux abonnements et aux données transactionnelles. L'API comprend également des fonctionnalités pour la gestion des paramètres de facturation, des paramètres d'apparence et de l'audit des chronologies des documents.

Authentication

BalanceInvoice

Create balance invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create balance invoice command with VAT legal notice

IssueDate
required
string <date-time>
Array of objects or null (CreateBalanceInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
DeliveryDate
string or null <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
required
integer <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
DiscountConditionsFreeTextField
required
string non-empty
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview balance invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Preview command with VAT legal notice

AccountingFolderId
required
integer <int32>
object (CreateBalanceInvoiceCommandV2)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Create invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
IssueDate
required
string <date-time>
Array of objects or null (CreateBalanceInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
DeliveryDate
string or null <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
required
integer <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
DiscountConditionsFreeTextField
required
string non-empty

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "DiscountConditionsFreeTextField": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
AccountingFolderId
required
integer <int32>
object (CreateBalanceInvoiceCommand)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Recreate Pdf

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Responses

CommercialInvoice

Create commercial invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create commercial invoice command with VAT legal notice

IssueDate
required
string <date-time>
Array of objects or null (CreateCommercialInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
DeliveryDate
string or null <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
integer or null <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
DiscountConditionsFreeTextField
required
string non-empty
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview commercial invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Preview command with VAT legal notice

AccountingFolderId
required
integer <int32>
object (CreateCommercialInvoiceCommandV2)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Create invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
IssueDate
required
string <date-time>
Array of objects or null (CreateCommercialInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
DeliveryDate
string or null <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
integer or null <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
DiscountConditionsFreeTextField
required
string non-empty

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "DiscountConditionsFreeTextField": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
AccountingFolderId
required
integer <int32>
object (CreateCommercialInvoiceCommand)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Recreate Pdf

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Responses

CreditNote

Create a credit note for an invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Reference invoice identifier

Request Body schema:

Create credit note command with VAT legal notice

IssueDate
required
string <date-time>
Array of objects or null (CreateCreditNoteLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Create a credit note without an invoice for a customer with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

customerId
required
integer <int32>

Customer identifier

Request Body schema:

Create credit note command with VAT legal notice

IssueDate
required
string <date-time>
Array of objects or null (CreateCreditNoteLineCommand)
FreeTextField
string or null
DueDate
string or null <date-time>
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview credit note with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Reference invoice identifier

Request Body schema:

Create credit note preview command with VAT legal notice

object (CreateCreditNoteCommandV2)

Responses

Request samples

Content type
{
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Preview credit note without an invoice for a customer with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

customerId
required
integer <int32>

Customer identifier

Request Body schema:

Create credit note preview command with VAT legal notice

object (CreateCreditNoteWithoutInvoiceCommandV2)

Responses

Request samples

Content type
{
  • "CreateCreditNoteWithoutInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Create a credit note for an invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>
Request Body schema:
IssueDate
required
string <date-time>
Array of objects or null (CreateCreditNoteLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Create a credit note without an invoice for a customer Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
customerId
required
integer <int32>
Request Body schema:
IssueDate
required
string <date-time>
Array of objects or null (CreateCreditNoteLineCommand)
FreeTextField
string or null
DueDate
string or null <date-time>

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "DueDate": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>
Request Body schema:
object (CreateCreditNoteCommand)

Responses

Request samples

Content type
{
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Preview credit note without an invoice for a customer Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

customerId
required
integer <int32>

Customer Identifier

Request Body schema:

Command to create the preview

object (CreateCreditNoteWithoutInvoiceCommand)

Responses

Request samples

Content type
{
  • "CreateCreditNoteWithoutInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Recreate Pdf

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Responses

Customer

Get an enterprise by its accounting folder id and customer id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Id

customerId
required
integer <int32>

Customer Id

Responses

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "Siren": "string",
  • "LegalName": "string",
  • "VatNumber": "string",
  • "SelectedPeppolAddressingIdentifier": "string"
}

Update a enterprise customer

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

customerId
required
integer <int32>

Customer Id

Request Body schema:

Customer infos

Reference
string or null
UserNotes
string or null
Email
string or null
PhoneNumber
string or null
required
object (Address)
object (Address)
DefaultPaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
ExcludedFromReminders
required
boolean
Array of objects or null (ContactViewModel)
RowVersion
required
string
AccountNumberMapping
integer or null <int32>
SubAccountCodeMapping
required
string non-empty
Siren
required
string non-empty
Nic
string or null
LegalName
required
string non-empty
VatNumber
string or null
SelectedPeppolAddressingIdentifier
string or null

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "Contacts": [
    ],
  • "RowVersion": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "Siren": "string",
  • "Nic": "string",
  • "LegalName": "string",
  • "VatNumber": "string",
  • "SelectedPeppolAddressingIdentifier": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "Siren": "string",
  • "LegalName": "string",
  • "VatNumber": "string",
  • "SelectedPeppolAddressingIdentifier": "string"
}

Get a foreign enterprise customer by its accounting folder id and customer id.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Id

customerId
required
integer <int32>

Customer Id

Responses

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Siren": "string",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "Registration": "string",
  • "LegalName": "string",
  • "VatNumber": "string"
}

Update a foreign enterprise customer

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

customerId
required
integer <int32>

Customer Id

Request Body schema:

Customer infos

Reference
string or null
UserNotes
string or null
Email
string or null
PhoneNumber
string or null
required
object (Address)
object (Address)
DefaultPaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
ExcludedFromReminders
required
boolean
Array of objects or null (ContactViewModel)
RowVersion
required
string
AccountNumberMapping
integer or null <int32>
SubAccountCodeMapping
required
string non-empty
Registration
required
string non-empty
LegalName
required
string non-empty
VatNumber
string or null

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "Contacts": [
    ],
  • "RowVersion": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "Registration": "string",
  • "LegalName": "string",
  • "VatNumber": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Siren": "string",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "Registration": "string",
  • "LegalName": "string",
  • "VatNumber": "string"
}

Get an individual customer by its accounting folder id and customer id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Id

customerId
required
integer <int32>

Customer Id

Responses

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Siren": "string",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "FirstName": "string",
  • "LastName": "string"
}

Update a individual customer

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

customerId
required
integer <int32>

Customer Id

Request Body schema:

Customer infos

Reference
string or null
UserNotes
string or null
Email
string or null
PhoneNumber
string or null
required
object (Address)
object (Address)
DefaultPaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
ExcludedFromReminders
required
boolean
Array of objects or null (ContactViewModel)
RowVersion
required
string
AccountNumberMapping
integer or null <int32>
SubAccountCodeMapping
required
string non-empty
FirstName
required
string non-empty
LastName
required
string non-empty

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "Contacts": [
    ],
  • "RowVersion": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "FirstName": "string",
  • "LastName": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Siren": "string",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "FirstName": "string",
  • "LastName": "string"
}

Get a customer for an accounting folder id and customer id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
customerId
required
integer <int32>

Responses

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Siren": "string",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ]
}

Delete a customer

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

customerId
required
integer <int32>

Customer Id

Responses

Get a customer's electronic-invoicing eligibility, refreshing it from the ViDA directory when the cached value is stale.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Id

customerId
required
integer <int32>

Customer Id

Responses

Response samples

Content type
{
  • "Status": "NotConcerned",
  • "ActionRequiredReason": "None",
  • "CheckedAt": "2019-08-24T14:15:22Z"
}

Create a new enterprise customer

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema:
Reference
string or null
UserNotes
string or null
Email
string or null
PhoneNumber
string or null
required
object (Address)
object (Address)
DefaultPaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
ExcludedFromReminders
required
boolean
Array of objects or null (ContactViewModel)
AccountNumberMapping
integer or null <int32>
SubAccountCodeMapping
string or null
Siren
required
string non-empty
Nic
string or null
LegalName
required
string non-empty
VatNumber
string or null
SelectedPeppolAddressingIdentifier
string or null

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "Contacts": [
    ],
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "Siren": "string",
  • "Nic": "string",
  • "LegalName": "string",
  • "VatNumber": "string",
  • "SelectedPeppolAddressingIdentifier": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "Siren": "string",
  • "LegalName": "string",
  • "VatNumber": "string",
  • "SelectedPeppolAddressingIdentifier": "string"
}

Create a new foreign enterprise customer

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema:
Reference
string or null
UserNotes
string or null
Email
string or null
PhoneNumber
string or null
required
object (Address)
object (Address)
DefaultPaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
ExcludedFromReminders
required
boolean
Array of objects or null (ContactViewModel)
AccountNumberMapping
integer or null <int32>
SubAccountCodeMapping
string or null
Registration
required
string non-empty
LegalName
required
string non-empty
VatNumber
string or null

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "Contacts": [
    ],
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "Registration": "string",
  • "LegalName": "string",
  • "VatNumber": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Siren": "string",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "Registration": "string",
  • "LegalName": "string",
  • "VatNumber": "string"
}

Create a new individual customer

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema:
Reference
string or null
UserNotes
string or null
Email
string or null
PhoneNumber
string or null
required
object (Address)
object (Address)
DefaultPaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
ExcludedFromReminders
required
boolean
Array of objects or null (ContactViewModel)
AccountNumberMapping
integer or null <int32>
SubAccountCodeMapping
string or null
FirstName
required
string non-empty
LastName
required
string non-empty

Responses

Request samples

Content type
{
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "Contacts": [
    ],
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "FirstName": "string",
  • "LastName": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "CustomerType": "Enterprise",
  • "Siren": "string",
  • "Nic": "string",
  • "Reference": "string",
  • "UserNotes": "string",
  • "Email": "string",
  • "PhoneNumber": "string",
  • "AccountNumberMapping": 0,
  • "SubAccountCodeMapping": "string",
  • "BillingAddress": {
    },
  • "DeliveryAddress": {
    },
  • "DefaultPaymentTerms": "OnReceipt",
  • "ExcludedFromReminders": true,
  • "RowVersion": "string",
  • "DisplayName": "string",
  • "Contacts": [
    ],
  • "FirstName": "string",
  • "LastName": "string"
}

Customer_GetAccountAvailability

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
accountNumber
integer <int32>
subAccountCode
string

Responses

Response samples

Content type
{
  • "IsAvailable": true,
  • "AssociatedCustomerId": 0
}

Get customer import history

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Responses

Response samples

Content type
[
  • {
    }
]

Customer_ImportIndividualCustomers

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema: multipart/form-data
AccountingFolderId
integer <int32>
File
string <binary>

Responses

Response samples

Content type
{
  • "SuccessfulRecords": 0,
  • "FailedRecords": 0,
  • "RecordCount": 0,
  • "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
  • "Errors": [
    ]
}

Customer_ImportEnterpriseCustomers

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema: multipart/form-data
AccountingFolderId
integer <int32>
File
string <binary>

Responses

Response samples

Content type
{
  • "SuccessfulRecords": 0,
  • "FailedRecords": 0,
  • "RecordCount": 0,
  • "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
  • "Errors": [
    ]
}

Customer_ImportForeignEnterpriseCustomers

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema: multipart/form-data
AccountingFolderId
integer <int32>
File
string <binary>

Responses

Response samples

Content type
{
  • "SuccessfulRecords": 0,
  • "FailedRecords": 0,
  • "RecordCount": 0,
  • "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
  • "Errors": [
    ]
}

Download individual customers sample file

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
FileType
required
string
Enum: "Csv" "Excel"

Responses

Request samples

Content type
{
  • "FileType": "Csv"
}

Response samples

Content type
"string"

Download enterprises customers sample file

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
FileType
required
string
Enum: "Csv" "Excel"

Responses

Request samples

Content type
{
  • "FileType": "Csv"
}

Response samples

Content type
"string"

Download foreign enterprises customers sample file

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema:
FileType
required
string
Enum: "Csv" "Excel"

Responses

Request samples

Content type
{
  • "FileType": "Csv"
}

Response samples

Content type
"string"

Delete customers by session id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

sessionId
required
string <uuid>

Session Id

Responses

DraftInvoice

Generate a pdf for the draft with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create draft invoice command with VAT legal notice

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
DeliveryDate
string or null <date-time>
SubscriptionScheduledActionId
integer or null <int32>
QuoteId
integer or null <int32>
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "SubscriptionScheduledActionId": 0,
  • "QuoteId": 0,
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Create draft invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create draft invoice command with VAT legal notice

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
DeliveryDate
string or null <date-time>
SubscriptionScheduledActionId
integer or null <int32>
QuoteId
integer or null <int32>
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "SubscriptionScheduledActionId": 0,
  • "QuoteId": 0,
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ScheduledActionId": 0,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Create a new draft invoice from a quote with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

quoteId
required
integer <int32>

Quote Identifier to convert into a draft invoice

Request Body schema:

Optional VAT legal notice information

AccountingFolderId
required
integer <int32>
QuoteId
required
integer <int32>
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "QuoteId": 0,
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ScheduledActionId": 0,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Update draft invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftId
required
integer <int32>

Draft Invoice Identifier

Request Body schema:

Update draft invoice command with VAT legal notice

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
DeliveryDate
string or null <date-time>
RowVersion
required
string
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "RowVersion": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ScheduledActionId": 0,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Get draft invoice by Id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftId
required
integer <int32>

Responses

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ScheduledActionId": 0,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Update draft invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftId
required
integer <int32>
Request Body schema:
CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
DeliveryDate
string or null <date-time>
RowVersion
required
string

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "RowVersion": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ScheduledActionId": 0,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Delete draft invoice

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftId
required
integer <int32>

Draft Invoice Identifier

Responses

Generate a pdf for the draft Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
DeliveryDate
string or null <date-time>
SubscriptionScheduledActionId
integer or null <int32>
QuoteId
integer or null <int32>

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "SubscriptionScheduledActionId": 0,
  • "QuoteId": 0
}

Create a new draft invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
DeliveryDate
string or null <date-time>
SubscriptionScheduledActionId
integer or null <int32>
QuoteId
integer or null <int32>

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "SubscriptionScheduledActionId": 0,
  • "QuoteId": 0
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ScheduledActionId": 0,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Create a new draft invoice from a quote Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

quoteId
required
integer <int32>

Quote Identifier to convert into a draft invoice

Responses

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "CustomerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ScheduledActionId": 0,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Get all invoices linked to a draft

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftId
required
integer <int32>

Draft Identifier

Responses

Response samples

Content type
[
  • {
    }
]

DraftQuote

Create draft quote with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create draft quote command with VAT legal notice

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
LatePenaltyText
string or null
FreeTextField
string or null
HasDiscountConditions
required
boolean
DiscountConditionsFreeTextField
string or null
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Update draft quote with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftQuoteId
required
integer <int32>

Draft Quote Identifier

Request Body schema:

Update draft quote command with VAT legal notice

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
LatePenaltyText
string or null
FreeTextField
string or null
HasDiscountConditions
required
boolean
DiscountConditionsFreeTextField
string or null
RowVersion
required
string
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "RowVersion": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Generate a pdf for the draft quote

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create draft quote command

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
LatePenaltyText
string or null
FreeTextField
string or null
HasDiscountConditions
required
boolean
DiscountConditionsFreeTextField
string or null

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string"
}

Get draft quote by Id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftQuoteId
required
integer <int32>

Draft Quote Identifier

Responses

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Update draft quote Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftQuoteId
required
integer <int32>

Draft Quote Identifier

Request Body schema:

Update draft quote command

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
LatePenaltyText
string or null
FreeTextField
string or null
HasDiscountConditions
required
boolean
DiscountConditionsFreeTextField
string or null
RowVersion
required
string

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "RowVersion": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Delete draft quote

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftQuoteId
required
integer <int32>

Draft Quote Identifier

Responses

Response samples

Content type
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}

Create a new draft quote Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create draft quote command

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
LatePenaltyText
string or null
FreeTextField
string or null
HasDiscountConditions
required
boolean
DiscountConditionsFreeTextField
string or null

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Get the quote linked to a draft quote

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

draftQuoteId
required
integer <int32>

Draft Quote Identifier

Responses

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "UserFormattedQuoteNumber": "string",
  • "QuoteNumber": 0,
  • "Status": "Pending",
  • "BuyerName": "string",
  • "BuyerEmail": "string",
  • "BuyerType": "Enterprise",
  • "PdfUrl": "string",
  • "EmailSentDate": "2019-08-24T14:15:22Z",
  • "DraftQuoteId": 0
}

IntermediateInvoice

Create intermediate invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create intermediate invoice command with VAT legal notice

IssueDate
required
string <date-time>
Array of objects or null (CreateIntermediateInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
required
integer <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
Amount
required
number <decimal>
AmountValueType
required
string
Enum: "Amount" "Percent"
DiscountConditionsFreeTextField
required
string non-empty
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "Amount": 0,
  • "AmountValueType": "Amount",
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview intermediate invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Preview command with VAT legal notice

AccountingFolderId
required
integer <int32>
object (CreateIntermediateInvoiceCommandV2)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Create invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
IssueDate
required
string <date-time>
Array of objects or null (CreateIntermediateInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
required
integer <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
Amount
required
number <decimal>
AmountValueType
required
string
Enum: "Amount" "Percent"
DiscountConditionsFreeTextField
required
string non-empty

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "Amount": 0,
  • "AmountValueType": "Amount",
  • "DiscountConditionsFreeTextField": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
AccountingFolderId
required
integer <int32>
object (CreateIntermediateInvoiceCommand)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Recreate Pdf

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Responses

Invoice

Send invoice mail with optional default attachments (from GED bibliothèque) and ad hoc attachments (multipart upload).

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
invoiceId
required
integer <int32>
Request Body schema: multipart/form-data
DefaultAttachmentIds
Array of integers <int32> [ items <int32 > ]
AdHocAttachments
Array of strings <binary> [ items <binary > ]
AccountingFolderId
integer <int32>
InvoiceId
integer <int32>
Subject
string
Body
string
To
Array of strings
Cc
Array of strings
Bcc
Array of strings

Responses

Get invoice by Id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Invoice Identifier

Responses

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Get invoices by Id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

query Parameters
invoiceIds
Array of integers <int32> [ items <int32 > ]

Invoice Identifiers

Responses

Response samples

Content type
[
  • {
    }
]

Get invoice by book letter id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

bookLetterId
required
integer <int32>

Invoice Identifier

Responses

Response samples

Content type
[
  • {
    }
]

Get invoice computed amounts

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
object (DocumentDiscountCommandModel)
object (DocumentChargeCommandModel)
Array of objects or null (ProductLineForComputationModel)
DepositAmount
required
number <decimal>
RoundingAmount
required
number <decimal>

Responses

Request samples

Content type
{
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ProductLines": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    }
}

Set invoice payments from bank transaction

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
invoiceId
required
integer <int32>
Request Body schema:
TransactionIds
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
{
  • "TransactionIds": [
    ]
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Set invoice payments from lettering

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
invoiceId
required
integer <int32>
Request Body schema:
IsAutomaticLettering
required
boolean
Array of objects or null (SetInvoicePaymentFromLetteredLineCommand)

Responses

Request samples

Content type
{
  • "IsAutomaticLettering": true,
  • "LetteredLines": [
    ]
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Associate a letter id to current invoice payments

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
invoiceId
required
integer <int32>
query Parameters
letterId
integer <int32>

Responses

Send mail for invoice

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
invoiceId
required
integer <int32>
Request Body schema:
Subject
string or null
Body
string or null
To
Array of strings or null
Cc
Array of strings or null
Bcc
Array of strings or null

Responses

Request samples

Content type
{
  • "Subject": "string",
  • "Body": "string",
  • "To": [
    ],
  • "Cc": [
    ],
  • "Bcc": [
    ]
}

Get metrics for invoice

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
startDate
string <date-time>
endDate
string <date-time>

Responses

Response samples

Content type
{
  • "InvoicedRevenue": 0,
  • "PaidRevenue": 0,
  • "TotalUnpaidInvoices": 0
}

Update invoices with due date less than current date

Authorizations:
oauth2

Responses

Cancel invoice

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Invoice Identifier

Responses

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Get the latest validated issue date

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Responses

Response samples

Content type
"2019-08-24T14:15:22Z"

Send an email reminder for all invoices that are eligible for the parameterized reminder.

Authorizations:
oauth2
Request Body schema:
FromDate
string or null <date-time>
ToDate
string or null <date-time>

Responses

Request samples

Content type
{
  • "FromDate": "2019-08-24T14:15:22Z",
  • "ToDate": "2019-08-24T14:15:22Z"
}

InvoiceQuota

Get invoice quota status for an accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Id

Responses

Response samples

Content type
{
  • "IsRestricted": true,
  • "Quota": {
    }
}

LegalNoticeDecision

LegalNoticeDecision_GetLegalNoticeDecision

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
CustomerId
required
integer <int32>
InvoiceDate
string or null <date-time>
Array of objects or null (ProductVatChoiceViewModel)

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "InvoiceDate": "2019-08-24T14:15:22Z",
  • "ProductVatChoices": [
    ]
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "LegalNoticeOptions": [
    ],
  • "DefaultLegalNoticeType": "ExemptionArticle261D4"
}

MeasureUnit

Get all available measure units

Authorizations:
oauth2

Responses

Response samples

Content type
[
  • {
    }
]

Parameter

Get the billing parameters of the accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Id

Responses

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "LegalInformation": {
    },
  • "CommercialName": "string",
  • "HeadquarterAddress": {
    },
  • "SellerEmail": "string",
  • "SellerPhone": "string",
  • "DefaultProductType": "DeliveryOfGoods",
  • "Currency": {
    },
  • "BankAccountInfo": [
    ],
  • "DefaultPaymentTerms": "OnReceipt",
  • "InvoiceNumberFormat": {
    },
  • "QuotationNumberFormat": {
    },
  • "LogoUrl": "string",
  • "DefaultVatRate": {
    },
  • "DefaultProductCategory": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DefaultDocumentPrimaryColor": "string",
  • "EmailReminder": {
    },
  • "VatAccountPerRates": [
    ],
  • "IsVatMappingInitialized": true,
  • "AccountsByProductCategory": [
    ],
  • "IsSubAccount7GenerationAvailable": true,
  • "IsSuffixRuleEnabled": true,
  • "SuffixRules": [
    ],
  • "ParameterExist": true,
  • "RowVersion": "string"
}

Create or Update the billing parameters of the accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
CommercialName
string or null
required
object (Address)
DefaultCurrencyId
required
integer <int32>
SellerEmail
string or null
SellerPhone
string or null
SellerVatNumber
string or null
DefaultProductType
string or null
Enum: "DeliveryOfGoods" "ServiceDelivery"
Array of objects or null (BankAccountInfoModel)
DefaultPaymentTerms
required
string
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
object (DocumentNumberFormatModel)
object (DocumentNumberFormatModel)
DefaultVatId
integer or null <int32>
DefaultProductCategoryId
integer or null <int32>
LatePenaltyText
required
string non-empty
FreeTextField
string or null
ShareCapital
number or null <decimal>
object (HexColorModel)
object (EmailReminderModel)
Array of objects or null (VatAccountPerRateModel)
Array of objects or null (AccountByProductCategoryModel)
IsSuffixRuleEnabled
boolean or null
Array of objects or null (VatSuffixRuleModel)
RowVersion
string or null

Responses

Request samples

Content type
{
  • "CommercialName": "string",
  • "HeadquarterAddress": {
    },
  • "DefaultCurrencyId": 0,
  • "SellerEmail": "string",
  • "SellerPhone": "string",
  • "SellerVatNumber": "string",
  • "DefaultProductType": "DeliveryOfGoods",
  • "BankAccountInfo": [
    ],
  • "DefaultPaymentTerms": "OnReceipt",
  • "InvoiceNumberFormat": {
    },
  • "QuotationNumberFormat": {
    },
  • "DefaultVatId": 0,
  • "DefaultProductCategoryId": 0,
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "ShareCapital": 0,
  • "DefaultDocumentPrimaryColor": {
    },
  • "EmailReminder": {
    },
  • "VatAccountPerRates": [
    ],
  • "AccountsByProductCategory": [
    ],
  • "IsSuffixRuleEnabled": true,
  • "SuffixRules": [
    ],
  • "RowVersion": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "LegalInformation": {
    },
  • "CommercialName": "string",
  • "HeadquarterAddress": {
    },
  • "SellerEmail": "string",
  • "SellerPhone": "string",
  • "DefaultProductType": "DeliveryOfGoods",
  • "Currency": {
    },
  • "BankAccountInfo": [
    ],
  • "DefaultPaymentTerms": "OnReceipt",
  • "InvoiceNumberFormat": {
    },
  • "QuotationNumberFormat": {
    },
  • "LogoUrl": "string",
  • "DefaultVatRate": {
    },
  • "DefaultProductCategory": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DefaultDocumentPrimaryColor": "string",
  • "EmailReminder": {
    },
  • "VatAccountPerRates": [
    ],
  • "IsVatMappingInitialized": true,
  • "AccountsByProductCategory": [
    ],
  • "IsSubAccount7GenerationAvailable": true,
  • "IsSuffixRuleEnabled": true,
  • "SuffixRules": [
    ],
  • "ParameterExist": true,
  • "RowVersion": "string"
}

Re-synchronizes one VAT rate's 44x account from the chart of accounts.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
vatRateId
required
integer <int32>
Request Body schema:
RowVersion
string or null

Responses

Request samples

Content type
{
  • "RowVersion": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "LegalInformation": {
    },
  • "CommercialName": "string",
  • "HeadquarterAddress": {
    },
  • "SellerEmail": "string",
  • "SellerPhone": "string",
  • "DefaultProductType": "DeliveryOfGoods",
  • "Currency": {
    },
  • "BankAccountInfo": [
    ],
  • "DefaultPaymentTerms": "OnReceipt",
  • "InvoiceNumberFormat": {
    },
  • "QuotationNumberFormat": {
    },
  • "LogoUrl": "string",
  • "DefaultVatRate": {
    },
  • "DefaultProductCategory": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DefaultDocumentPrimaryColor": "string",
  • "EmailReminder": {
    },
  • "VatAccountPerRates": [
    ],
  • "IsVatMappingInitialized": true,
  • "AccountsByProductCategory": [
    ],
  • "IsSubAccount7GenerationAvailable": true,
  • "IsSuffixRuleEnabled": true,
  • "SuffixRules": [
    ],
  • "ParameterExist": true,
  • "RowVersion": "string"
}

Re-synchronizes every VAT rate's 44x account from the chart of accounts.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
RowVersion
string or null

Responses

Request samples

Content type
{
  • "RowVersion": "string"
}

Response samples

Content type
{
  • "AccountingFolderId": 0,
  • "LegalInformation": {
    },
  • "CommercialName": "string",
  • "HeadquarterAddress": {
    },
  • "SellerEmail": "string",
  • "SellerPhone": "string",
  • "DefaultProductType": "DeliveryOfGoods",
  • "Currency": {
    },
  • "BankAccountInfo": [
    ],
  • "DefaultPaymentTerms": "OnReceipt",
  • "InvoiceNumberFormat": {
    },
  • "QuotationNumberFormat": {
    },
  • "LogoUrl": "string",
  • "DefaultVatRate": {
    },
  • "DefaultProductCategory": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DefaultDocumentPrimaryColor": "string",
  • "EmailReminder": {
    },
  • "VatAccountPerRates": [
    ],
  • "IsVatMappingInitialized": true,
  • "AccountsByProductCategory": [
    ],
  • "IsSubAccount7GenerationAvailable": true,
  • "IsSuffixRuleEnabled": true,
  • "SuffixRules": [
    ],
  • "ParameterExist": true,
  • "RowVersion": "string"
}

PrePaymentInvoice

Create pre-payment invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create pre-payment invoice command with VAT legal notice

IssueDate
required
string <date-time>
Array of objects or null (CreatePrePaymentInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
DeliveryDate
string or null <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
required
integer <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
Amount
required
number <decimal>
AmountValueType
required
string
Enum: "Amount" "Percent"
DiscountConditionsFreeTextField
required
string non-empty
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "Amount": 0,
  • "AmountValueType": "Amount",
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview pre-payment invoice with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Preview command with VAT legal notice

AccountingFolderId
required
integer <int32>
object (CreatePrePaymentInvoiceCommandV2)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Create invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
IssueDate
required
string <date-time>
Array of objects or null (CreatePrePaymentInvoiceLineCommand)
FreeTextField
string or null
object (DocumentDiscountCommandModel)
CustomerId
required
integer <int32>
PublicTenderIdentifier
string or null
BankAccountInfoIds
Array of integers or null <int32> [ items <int32 > ]
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
DueDate
required
string <date-time>
DeliveryDate
string or null <date-time>
LatePenaltyText
string or null
PaymentMeanId
integer or null <int32>
DraftInvoiceId
required
integer <int32>
PreviousInvoiceId
integer or null <int32>
SubscriptionScheduledActionId
integer or null <int32>
Amount
required
number <decimal>
AmountValueType
required
string
Enum: "Amount" "Percent"
DiscountConditionsFreeTextField
required
string non-empty

Responses

Request samples

Content type
{
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "InvoiceLineItems": [
    ],
  • "FreeTextField": "string",
  • "CreateDocumentDiscountCommand": {
    },
  • "CustomerId": 0,
  • "PublicTenderIdentifier": "string",
  • "BankAccountInfoIds": [
    ],
  • "PaymentTerms": "OnReceipt",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "LatePenaltyText": "string",
  • "PaymentMeanId": 0,
  • "DraftInvoiceId": 0,
  • "PreviousInvoiceId": 0,
  • "SubscriptionScheduledActionId": 0,
  • "Amount": 0,
  • "AmountValueType": "Amount",
  • "DiscountConditionsFreeTextField": "string"
}

Response samples

Content type
{
  • "DocumentDiscounts": [
    ],
  • "DocumentCharges": [
    ],
  • "ProductLines": [
    ],
  • "VatTotalAmounts": [
    ],
  • "DepositAmount": 0,
  • "RoundingAmount": 0,
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "InvoiceNumber": 0,
  • "UserFormattedInvoiceNumber": "string",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "DeliveryDate": "2019-08-24T14:15:22Z",
  • "ReminderSentDate": "2019-08-24T14:15:22Z",
  • "InvoiceType": "None",
  • "InvoiceSeller": {
    },
  • "InvoiceBuyer": {
    },
  • "PaymentInstructions": {
    },
  • "InvoicePayments": {
    },
  • "LinkedCreditNotes": [
    ],
  • "ElectronicInvoiceEligibility": {
    },
  • "PdfUrl": "string",
  • "FreeTextField": "string",
  • "Status": "ToBeCollected",
  • "PaymentReference": "string",
  • "AccountingDocumentId": 0,
  • "InvoiceReferences": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "ScheduledActionId": 0,
  • "IsCancellable": true,
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "DraftId": 0,
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "ViDAStatus": "None",
  • "ViDAState": "Pending",
  • "ViDAStateReasonCode": "NON_TRANSMISE",
  • "ViDAStatusDetails": "string",
  • "ElectronicTransmissionStatus": "None"
}

Preview invoice Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
AccountingFolderId
required
integer <int32>
object (CreatePrePaymentInvoiceCommand)

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "CreateInvoiceCommand": {
    }
}

Response samples

Content type
"string"

Recreate Pdf

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

invoiceId
required
integer <int32>

Responses

Product

Get products by ids

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
query Parameters
productIds
Array of integers <int32> [ items <int32 > ]

Responses

Response samples

Content type
[
  • {
    }
]

Create a new product

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:
Name
required
string non-empty
ProductType
required
string
Enum: "DeliveryOfGoods" "ServiceDelivery"
Description
string or null
UnitId
required
integer <int32>
UnitPriceExclTax
required
number <decimal>
VatId
required
integer <int32>
ProductCategoryId
required
integer <int32>
Reference
string or null

Responses

Request samples

Content type
{
  • "Name": "string",
  • "ProductType": "DeliveryOfGoods",
  • "Description": "string",
  • "UnitId": 0,
  • "UnitPriceExclTax": 0,
  • "VatId": 0,
  • "ProductCategoryId": 0,
  • "Reference": "string"
}

Response samples

Content type
{
  • "Id": 0,
  • "ProductType": "DeliveryOfGoods",
  • "AccountingFolderId": 0,
  • "Name": "string",
  • "Description": "string",
  • "UnitPriceExclTax": 0,
  • "UnitPriceInclTax": 0,
  • "MeasureUnit": {
    },
  • "Currency": {
    },
  • "VatRate": {
    },
  • "ProductCategory": {
    },
  • "Reference": "string",
  • "RowVersion": "string"
}

Search products by name or reference

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Search Query

PageNumber
required
integer <int32>
Default: 1
PageSize
required
integer <int32> <= 1000
Default: 10
Name
string or null
Reference
string or null
SearchText
string or null
SortColumn
required
string
Enum: "Name" "Reference" "UnitPriceExclTax" "MeasureUnit" "Vat"
SortDirection
required
string
Enum: "Ascending" "Descending"

Responses

Request samples

Content type
{
  • "PageNumber": 1,
  • "PageSize": 10,
  • "Name": "string",
  • "Reference": "string",
  • "SearchText": "string",
  • "SortColumn": "Name",
  • "SortDirection": "Ascending"
}

Response samples

Content type
{
  • "Items": [
    ],
  • "PageNumber": 1,
  • "PageSize": 1,
  • "TotalCount": 1,
  • "PageCount": 0,
  • "HasPreviousPage": false,
  • "HasNextPage": false
}

Update a product

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

productId
required
integer <int32>

Product Identifier

Request Body schema:
Name
required
string non-empty
ProductType
required
string
Enum: "DeliveryOfGoods" "ServiceDelivery"
Description
string or null
UnitId
required
integer <int32>
UnitPriceExclTax
required
number <decimal>
VatId
required
integer <int32>
ProductCategoryId
required
integer <int32>
Reference
string or null
RowVersion
required
string

Responses

Request samples

Content type
{
  • "Name": "string",
  • "ProductType": "DeliveryOfGoods",
  • "Description": "string",
  • "UnitId": 0,
  • "UnitPriceExclTax": 0,
  • "VatId": 0,
  • "ProductCategoryId": 0,
  • "Reference": "string",
  • "RowVersion": "string"
}

Response samples

Content type
{
  • "Id": 0,
  • "ProductType": "DeliveryOfGoods",
  • "AccountingFolderId": 0,
  • "Name": "string",
  • "Description": "string",
  • "UnitPriceExclTax": 0,
  • "UnitPriceInclTax": 0,
  • "MeasureUnit": {
    },
  • "Currency": {
    },
  • "VatRate": {
    },
  • "ProductCategory": {
    },
  • "Reference": "string",
  • "RowVersion": "string"
}

Delete a product

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

productId
required
integer <int32>

Responses

Get product import history

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Responses

Response samples

Content type
[
  • {
    }
]

Import products

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema: multipart/form-data
AccountingFolderId
integer <int32>
File
string <binary>

Responses

Response samples

Content type
{
  • "SuccessfulRecords": 0,
  • "FailedRecords": 0,
  • "RecordCount": 0,
  • "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
  • "Errors": [
    ]
}

Download products sample file

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
FileType
required
string
Enum: "Csv" "Excel"

Responses

Request samples

Content type
{
  • "FileType": "Csv"
}

Response samples

Content type
"string"

Delete products by import session id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

importSessionId
required
string <uuid>

Import Session Identifier

Responses

ProductCategory

Get all available product categories (backward compatibility - no folder filter)

Authorizations:
oauth2

Responses

Response samples

Content type
[
  • {
    }
]

Get all available product categories for an accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

query Parameters
with-usage
boolean
Default: false

Include product usage count for each category

Responses

Response samples

Content type
[
  • {
    }
]

Create a new product category

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create product category command

AccountNumber
required
integer <int32>
Label
string or null
SubAccountCode
string or null

Responses

Request samples

Content type
{
  • "AccountNumber": 0,
  • "Label": "string",
  • "SubAccountCode": "string"
}

Response samples

Content type
{
  • "Id": 0,
  • "Label": "string",
  • "PcgAccountNumber": 0,
  • "AccountNumber": 0,
  • "SubAccountCode": "string",
  • "IsSystemCategory": true,
  • "UsageCount": 0
}

Update an existing product category

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

productCategoryId
required
integer <int32>

Product Category Identifier

Request Body schema:

Update product category command

Label
string or null
AccountNumber
required
integer <int32>
SubAccountCode
string or null

Responses

Request samples

Content type
{
  • "Label": "string",
  • "AccountNumber": 0,
  • "SubAccountCode": "string"
}

Response samples

Content type
{
  • "Id": 0,
  • "Label": "string",
  • "PcgAccountNumber": 0,
  • "AccountNumber": 0,
  • "SubAccountCode": "string",
  • "IsSystemCategory": true,
  • "UsageCount": 0
}

Delete a product category

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

productCategoryId
required
integer <int32>

Product Category Identifier

Responses

Response samples

Content type
{
  • "type": "string",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "string",
  • "property1": null,
  • "property2": null
}

Quote

Create a new quote with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema:

Create Quote Command with VAT legal notice

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
FreeTextField
string or null
HasDiscountConditions
required
boolean
DiscountConditionsFreeTextField
string or null
PreviousQuoteId
integer or null <int32>
DraftQuoteId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "FreeTextField": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PreviousQuoteId": 0,
  • "DraftQuoteId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "UserFormattedQuoteNumber": "string",
  • "QuoteNumber": 0,
  • "Status": "Pending",
  • "BuyerName": "string",
  • "BuyerEmail": "string",
  • "BuyerType": "Enterprise",
  • "PdfUrl": "string",
  • "EmailSentDate": "2019-08-24T14:15:22Z",
  • "DraftQuoteId": 0
}

Send quote mail with optional default attachments (from GED bibliothèque) and ad hoc attachments (multipart upload).

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
quoteId
required
integer <int32>
Request Body schema: multipart/form-data
DefaultAttachmentIds
Array of integers <int32> [ items <int32 > ]
AdHocAttachments
Array of strings <binary> [ items <binary > ]
AccountingFolderId
integer <int32>
QuoteId
integer <int32>
Subject
string
Body
string
To
Array of strings
Cc
Array of strings
Bcc
Array of strings

Responses

Get quote by Id

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

quoteId
required
integer <int32>

Responses

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "UserFormattedQuoteNumber": "string",
  • "QuoteNumber": 0,
  • "Status": "Pending",
  • "BuyerName": "string",
  • "BuyerEmail": "string",
  • "BuyerType": "Enterprise",
  • "PdfUrl": "string",
  • "EmailSentDate": "2019-08-24T14:15:22Z",
  • "DraftQuoteId": 0
}

Create a new quote Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

The accounting folder id

Request Body schema:

Create Quote Command

CustomerId
required
integer <int32>
IssueDate
required
string <date-time>
DueDate
required
string <date-time>
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
FreeTextField
string or null
HasDiscountConditions
required
boolean
DiscountConditionsFreeTextField
string or null
PreviousQuoteId
integer or null <int32>
DraftQuoteId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null

Responses

Request samples

Content type
{
  • "CustomerId": 0,
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "FreeTextField": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "PreviousQuoteId": 0,
  • "DraftQuoteId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "UserFormattedQuoteNumber": "string",
  • "QuoteNumber": 0,
  • "Status": "Pending",
  • "BuyerName": "string",
  • "BuyerEmail": "string",
  • "BuyerType": "Enterprise",
  • "PdfUrl": "string",
  • "EmailSentDate": "2019-08-24T14:15:22Z",
  • "DraftQuoteId": 0
}

Quote_UpdateStatus

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
AccountingFolderId
required
integer <int32>
QuoteId
required
integer <int32>
NewStatus
required
string
Enum: "Pending" "Approved" "Rejected" "Expired" "Archived"

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "QuoteId": 0,
  • "NewStatus": "Pending"
}

Response samples

Content type
{
  • "ProductLines": [
    ],
  • "DocumentDiscount": {
    },
  • "DocumentCharge": {
    },
  • "TotalLinePriceExclTax": 0,
  • "TotalDocumentVatAmount": 0,
  • "TotalDocumentPayableAmount": 0,
  • "TotalDocumentPriceExclTax": 0,
  • "TotalDocumentInclTax": 0,
  • "TotalDocumentDiscountsAmount": 0,
  • "TotalDocumentChargesAmount": 0,
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "BuyerId": 0,
  • "DueDate": "2019-08-24T14:15:22Z",
  • "IssueDate": "2019-08-24T14:15:22Z",
  • "BankAccount": {
    },
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
  • "RowVersion": "string",
  • "HasDiscountConditions": true,
  • "DiscountConditionsFreeTextField": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "UserFormattedQuoteNumber": "string",
  • "QuoteNumber": 0,
  • "Status": "Pending",
  • "BuyerName": "string",
  • "BuyerEmail": "string",
  • "BuyerType": "Enterprise",
  • "PdfUrl": "string",
  • "EmailSentDate": "2019-08-24T14:15:22Z",
  • "DraftQuoteId": 0
}

Send mail for quote

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
quoteId
required
integer <int32>
Request Body schema:
Subject
string or null
Body
string or null
To
Array of strings or null
Cc
Array of strings or null
Bcc
Array of strings or null

Responses

Request samples

Content type
{
  • "Subject": "string",
  • "Body": "string",
  • "To": [
    ],
  • "Cc": [
    ],
  • "Bcc": [
    ]
}

Quote_CheckAndUpdateExpiredQuoteStatus

Authorizations:
oauth2

Responses

Subscription

Create subscription with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Create subscription command with VAT legal notice

Name
string or null
object (EndSubscriptionModel)
object (SubscriptionRecurrenceModel)
FinalizationMode
required
string
Enum: "Draft" "Invoice" "InvoiceAndSendMail"
object (SubscriptionMailConfigurationModel)
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
CustomerIds
Array of integers or null <int32> [ items <int32 > ]
StartDate
required
string <date-time>
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters
DefaultAttachmentIds
Array of integers or null <int32> [ items <int32 > ]
CustomAttachmentIds
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
{
  • "Name": "string",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "FinalizationMode": "Draft",
  • "MailConfiguration": {
    },
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "CustomerIds": [
    ],
  • "StartDate": "2019-08-24T14:15:22Z",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "DefaultAttachmentIds": [
    ],
  • "CustomAttachmentIds": [
    ]
}

Response samples

Content type
[
  • {
    }
]

Update subscription with VAT legal notice support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

subscriptionId
required
integer <int32>

Subscription Identifier

Request Body schema:

Update subscription command with VAT legal notice

Name
string or null
object (EndSubscriptionModel)
object (SubscriptionRecurrenceModel)
FinalizationMode
required
string
Enum: "Draft" "Invoice" "InvoiceAndSendMail"
object (SubscriptionMailConfigurationModel)
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
RowVersion
required
string
VatLegalNoticeType
string or null
Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject"
VatLegalNoticeText
string or null <= 500 characters

Responses

Request samples

Content type
{
  • "Name": "string",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "FinalizationMode": "Draft",
  • "MailConfiguration": {
    },
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "RowVersion": "string",
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string"
}

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "Name": "string",
  • "CreateDate": "2019-08-24T14:15:22Z",
  • "BuyerId": 0,
  • "BuyerName": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "FinalizationMode": "Draft",
  • "Status": "Active",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "Template": {
    },
  • "SubscriptionEmailConfig": {
    },
  • "ScheduledActions": [
    ],
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "RowVersion": "string"
}

Upload a custom mail attachment for recurring subscriptions. The returned id is meant to be passed in CreateSubscriptionCommandV2.CustomAttachmentIds.

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema: multipart/form-data
file
required
string <binary>

Responses

Response samples

Content type
{
  • "Id": 0,
  • "FileName": "string",
  • "FileSize": 0,
  • "MimeType": "string"
}

Replace the mail attachments of an existing subscription with the desired set (default library templates + previously-uploaded custom attachments).

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

subscriptionId
required
integer <int32>

Subscription Identifier

Request Body schema:

Desired default template ids and custom attachment ids

AccountingFolderId
required
integer <int32>
SubscriptionId
required
integer <int32>
DefaultAttachmentIds
Array of integers or null <int32> [ items <int32 > ]
CustomAttachmentIds
Array of integers or null <int32> [ items <int32 > ]

Responses

Request samples

Content type
{
  • "AccountingFolderId": 0,
  • "SubscriptionId": 0,
  • "DefaultAttachmentIds": [
    ],
  • "CustomAttachmentIds": [
    ]
}

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "Name": "string",
  • "CreateDate": "2019-08-24T14:15:22Z",
  • "BuyerId": 0,
  • "BuyerName": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "FinalizationMode": "Draft",
  • "Status": "Active",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "Template": {
    },
  • "SubscriptionEmailConfig": {
    },
  • "ScheduledActions": [
    ],
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "RowVersion": "string"
}

Subscription_GetSubscription

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
subscriptionId
required
integer <int32>

Responses

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "Name": "string",
  • "CreateDate": "2019-08-24T14:15:22Z",
  • "BuyerId": 0,
  • "BuyerName": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "FinalizationMode": "Draft",
  • "Status": "Active",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "Template": {
    },
  • "SubscriptionEmailConfig": {
    },
  • "ScheduledActions": [
    ],
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "RowVersion": "string",
  • "FinancialSummary": {
    },
  • "Invoices": [
    ],
  • "DefaultAttachmentIds": [
    ],
  • "CustomAttachments": [
    ]
}

Subscription_UpdateSubscription Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
subscriptionId
required
integer <int32>
Request Body schema:
Name
string or null
object (EndSubscriptionModel)
object (SubscriptionRecurrenceModel)
FinalizationMode
required
string
Enum: "Draft" "Invoice" "InvoiceAndSendMail"
object (SubscriptionMailConfigurationModel)
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
RowVersion
required
string

Responses

Request samples

Content type
{
  • "Name": "string",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "FinalizationMode": "Draft",
  • "MailConfiguration": {
    },
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "RowVersion": "string"
}

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "Name": "string",
  • "CreateDate": "2019-08-24T14:15:22Z",
  • "BuyerId": 0,
  • "BuyerName": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "FinalizationMode": "Draft",
  • "Status": "Active",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "Template": {
    },
  • "SubscriptionEmailConfig": {
    },
  • "ScheduledActions": [
    ],
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "RowVersion": "string"
}

Subscription_DeleteSubscription

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
subscriptionId
required
integer <int32>

Responses

Subscription_SearchSubscriptions

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
PageNumber
required
integer <int32>
Default: 1
PageSize
required
integer <int32> <= 1000
Default: 10
SearchText
string or null
StartDate
string or null <date-time>
EndDate
string or null <date-time>
SortColumn
required
string
Enum: "Name" "BuyerName" "Status" "CreationDate" "EndDate" "TotalPriceInclTax"
SortDirection
required
string
Enum: "Ascending" "Descending"

Responses

Request samples

Content type
{
  • "PageNumber": 1,
  • "PageSize": 10,
  • "SearchText": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "EndDate": "2019-08-24T14:15:22Z",
  • "SortColumn": "Name",
  • "SortDirection": "Ascending"
}

Response samples

Content type
{
  • "Items": [
    ],
  • "PageNumber": 1,
  • "PageSize": 1,
  • "TotalCount": 1,
  • "PageCount": 0,
  • "HasPreviousPage": false,
  • "HasNextPage": false
}

Subscription_CreateSubscription Deprecated

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
Name
string or null
object (EndSubscriptionModel)
object (SubscriptionRecurrenceModel)
FinalizationMode
required
string
Enum: "Draft" "Invoice" "InvoiceAndSendMail"
object (SubscriptionMailConfigurationModel)
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)
BankAccountInfoId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
LatePenaltyText
string or null
FreeTextField
string or null
DiscountConditionsFreeTextField
required
string non-empty
PublicTenderIdentifier
string or null
CustomerIds
Array of integers or null <int32> [ items <int32 > ]
StartDate
required
string <date-time>

Responses

Request samples

Content type
{
  • "Name": "string",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "FinalizationMode": "Draft",
  • "MailConfiguration": {
    },
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    },
  • "BankAccountInfoId": 0,
  • "PaymentTerms": "OnReceipt",
  • "LatePenaltyText": "string",
  • "FreeTextField": "string",
  • "DiscountConditionsFreeTextField": "string",
  • "PublicTenderIdentifier": "string",
  • "CustomerIds": [
    ],
  • "StartDate": "2019-08-24T14:15:22Z"
}

Response samples

Content type
[
  • {
    }
]

Subscription_UpdateSubscriptionStatus

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
subscriptionId
required
integer <int32>
Request Body schema:
string
Enum: "Active" "Suspended" "Cancel" "Finished"

Responses

Request samples

Content type
"Active"

Response samples

Content type
{
  • "Id": 0,
  • "AccountingFolderId": 0,
  • "Name": "string",
  • "CreateDate": "2019-08-24T14:15:22Z",
  • "BuyerId": 0,
  • "BuyerName": "string",
  • "StartDate": "2019-08-24T14:15:22Z",
  • "FinalizationMode": "Draft",
  • "Status": "Active",
  • "EndSubscription": {
    },
  • "Recurrence": {
    },
  • "Template": {
    },
  • "SubscriptionEmailConfig": {
    },
  • "ScheduledActions": [
    ],
  • "VatLegalNoticeType": "ExemptionArticle261D4",
  • "VatLegalNoticeText": "string",
  • "RowVersion": "string"
}

SubscriptionScheduledAction

Preview scheduled actions with DueDate and TotalDocumentInclTax computation support

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>

Accounting Folder Identifier

Request Body schema:

Preview scheduled actions query with payment terms and product line items

StartDate
required
string <date-time>
object (SubscriptionRecurrenceModel)
object (EndSubscriptionModel)
SubscriptionId
integer or null <int32>
PaymentTerms
string or null
Enum: "OnReceipt" "Within30Days" "Within45Days" "Within60Days" "Custom"
Array of objects or null (ProductLineItemsModel)
object (DocumentDiscountCommandModel)

Responses

Request samples

Content type
{
  • "StartDate": "2019-08-24T14:15:22Z",
  • "Recurrence": {
    },
  • "EndSubscription": {
    },
  • "SubscriptionId": 0,
  • "PaymentTerms": "OnReceipt",
  • "ProductLineItems": [
    ],
  • "CreateDocumentDiscountCommand": {
    }
}

Response samples

Content type
[
  • {
    }
]

SubscriptionScheduledAction_PreviewScheduledActions

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
StartDate
required
string <date-time>
object (SubscriptionRecurrenceModel)
object (EndSubscriptionModel)
SubscriptionId
integer or null <int32>

Responses

Request samples

Content type
{
  • "StartDate": "2019-08-24T14:15:22Z",
  • "Recurrence": {
    },
  • "EndSubscription": {
    },
  • "SubscriptionId": 0
}

Response samples

Content type
[
  • {
    }
]

SubscriptionScheduledAction_SearchScheduledActions

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
PageNumber
required
integer <int32>
Default: 1
PageSize
required
integer <int32> <= 1000
Default: 10
Statuses
Array of strings or null
Enum: "ToCome" "Disabled" "Processed" "Failed"
FinalizationModes
Array of strings or null
Enum: "Draft" "Invoice" "InvoiceAndSendMail"
SortColumn
required
string
Enum: "Date" "Status"
SortDirection
required
string
Enum: "Ascending" "Descending"

Responses

Request samples

Content type
{
  • "PageNumber": 1,
  • "PageSize": 10,
  • "Statuses": [
    ],
  • "FinalizationModes": [
    ],
  • "SortColumn": "Date",
  • "SortDirection": "Ascending"
}

Response samples

Content type
{
  • "Items": [
    ],
  • "PageNumber": 1,
  • "PageSize": 1,
  • "TotalCount": 1,
  • "PageCount": 0,
  • "HasPreviousPage": false,
  • "HasNextPage": false
}

SubscriptionScheduledAction_GenerateSubscriptionScheduledActionsForDate

Authorizations:
oauth2
query Parameters
date
string <date-time>

Responses

SubscriptionScheduledAction_UpdateSubscriptionScheduledActionStatus

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
scheduledActionId
required
integer <int32>
Request Body schema:
string
Enum: "ToCome" "Disabled" "Processed" "Failed"

Responses

Request samples

Content type
"ToCome"

Response samples

Content type
{
  • "Id": 0,
  • "Order": 0,
  • "Date": "2019-08-24T14:15:22Z",
  • "DueDate": "2019-08-24T14:15:22Z",
  • "TotalDocumentInclTax": 0,
  • "Status": "ToCome",
  • "RowVersion": "string"
}

Transaction

Get all bank transactions related to an accounting folder

Authorizations:
oauth2
path Parameters
accountingFolderId
required
integer <int32>
Request Body schema:
PageNumber
required
integer <int32>
Default: 1
PageSize
required
integer <int32> <= 1000
Default: 10
BankAccountId
integer or null <int32>
DateGreateaOrEqualAt
string or null <date-time>
DateLowerOrEqualAt
string or null <date-time>
Label
string or null
AmountGreaterOrEqualAt
number or null <double>
AmountLowerOrEqualAt
number or null <double>
IsStrictlyPositive
boolean or null
SortColumn
string or null
Enum: "OperationDate" "Amount"
SortDirection
string or null
Enum: "Ascending" "Descending"

Responses

Request samples

Content type
{
  • "PageNumber": 1,
  • "PageSize": 10,
  • "BankAccountId": 0,
  • "DateGreateaOrEqualAt": "2019-08-24T14:15:22Z",
  • "DateLowerOrEqualAt": "2019-08-24T14:15:22Z",
  • "Label": "string",
  • "AmountGreaterOrEqualAt": 0.1,
  • "AmountLowerOrEqualAt": 0.1,
  • "IsStrictlyPositive": true,
  • "SortColumn": "OperationDate",
  • "SortDirection": "Ascending"
}

Response samples

Content type
{
  • "Items": [
    ],
  • "PageNumber": 1,
  • "PageSize": 1,
  • "TotalCount": 1,
  • "PageCount": 0,
  • "HasPreviousPage": false,
  • "HasNextPage": false
}

VatRate

Get all available vat rates

Authorizations:
oauth2

Responses

Response samples

Content type
[
  • {
    }
]