Download OpenAPI specification:
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.
Voir : Authentification API Inqom
Base URL
| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Create balance invoice command with VAT legal notice
| IssueDate required | string <date-time> |
Array of objects or null (CreateBalanceInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
| VatLegalNoticeType | string or null Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject" |
| VatLegalNoticeText | string or null <= 500 characters |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Preview command with VAT legal notice
| AccountingFolderId required | integer <int32> |
object (CreateBalanceInvoiceCommandV2) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| IssueDate required | string <date-time> |
Array of objects or null (CreateBalanceInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| AccountingFolderId required | integer <int32> |
object (CreateBalanceInvoiceCommand) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Create commercial invoice command with VAT legal notice
| IssueDate required | string <date-time> |
Array of objects or null (CreateCommercialInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
| VatLegalNoticeType | string or null Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject" |
| VatLegalNoticeText | string or null <= 500 characters |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Preview command with VAT legal notice
| AccountingFolderId required | integer <int32> |
object (CreateCommercialInvoiceCommandV2) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| IssueDate required | string <date-time> |
Array of objects or null (CreateCommercialInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| AccountingFolderId required | integer <int32> |
object (CreateCommercialInvoiceCommand) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceId required | integer <int32> Reference invoice identifier |
Create credit note command with VAT legal notice
| IssueDate required | string <date-time> |
Array of objects or null (CreateCreditNoteLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
object (DocumentDiscountCommandModel) | |
| CustomerId required | integer <int32> |
| PublicTenderIdentifier | string or null |
| ShowDeliveryAddress | boolean or null |
| VatLegalNoticeType | string or null Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject" |
| VatLegalNoticeText | string or null <= 500 characters |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "ShowDeliveryAddress": true,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| customerId required | integer <int32> Customer identifier |
Create credit note command with VAT legal notice
| IssueDate required | string <date-time> |
Array of objects or null (CreateCreditNoteLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
| DueDate | string or null <date-time> |
| ShowDeliveryAddress | boolean or null |
| VatLegalNoticeType | string or null Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject" |
| VatLegalNoticeText | string or null <= 500 characters |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceId required | integer <int32> Reference invoice identifier |
Create credit note preview command with VAT legal notice
object (CreateCreditNoteCommandV2) |
{- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "ShowDeliveryAddress": true,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| customerId required | integer <int32> Customer identifier |
Create credit note preview command with VAT legal notice
object (CreateCreditNoteWithoutInvoiceCommandV2) |
{- "CreateCreditNoteWithoutInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceId required | integer <int32> |
| IssueDate required | string <date-time> |
Array of objects or null (CreateCreditNoteLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
object (DocumentDiscountCommandModel) | |
| CustomerId required | integer <int32> |
| PublicTenderIdentifier | string or null |
| ShowDeliveryAddress | boolean or null |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "ShowDeliveryAddress": true
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> |
| customerId required | integer <int32> |
| IssueDate required | string <date-time> |
Array of objects or null (CreateCreditNoteLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
| DueDate | string or null <date-time> |
| ShowDeliveryAddress | boolean or null |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceId required | integer <int32> |
object (CreateCreditNoteCommand) |
{- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "ShowDeliveryAddress": true
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| customerId required | integer <int32> Customer Identifier |
Command to create the preview
object (CreateCreditNoteWithoutInvoiceCommand) |
{- "CreateCreditNoteWithoutInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "ProductName": "string",
- "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string"
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Id |
| customerId required | integer <int32> Customer Id |
{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "Siren": "string",
- "LegalName": "string",
- "VatNumber": "string",
- "SelectedPeppolAddressingIdentifier": "string"
}| accountingFolderId required | integer <int32> The accounting folder id |
| customerId required | integer <int32> Customer Id |
Customer infos
| Reference | string or null |
| UserNotes | string or null |
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 |
{- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "RowVersion": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "Siren": "string",
- "Nic": "string",
- "LegalName": "string",
- "VatNumber": "string",
- "SelectedPeppolAddressingIdentifier": "string"
}{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "Siren": "string",
- "LegalName": "string",
- "VatNumber": "string",
- "SelectedPeppolAddressingIdentifier": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Id |
| customerId required | integer <int32> Customer Id |
{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "Registration": "string",
- "LegalName": "string",
- "VatNumber": "string"
}| accountingFolderId required | integer <int32> The accounting folder id |
| customerId required | integer <int32> Customer Id |
Customer infos
| Reference | string or null |
| UserNotes | string or null |
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 |
{- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "RowVersion": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "Registration": "string",
- "LegalName": "string",
- "VatNumber": "string"
}{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "Registration": "string",
- "LegalName": "string",
- "VatNumber": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Id |
| customerId required | integer <int32> Customer Id |
{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "FirstName": "string",
- "LastName": "string"
}| accountingFolderId required | integer <int32> The accounting folder id |
| customerId required | integer <int32> Customer Id |
Customer infos
| Reference | string or null |
| UserNotes | string or null |
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 |
{- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "RowVersion": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "FirstName": "string",
- "LastName": "string"
}{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "FirstName": "string",
- "LastName": "string"
}| accountingFolderId required | integer <int32> |
| customerId required | integer <int32> |
{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
]
}| accountingFolderId required | integer <int32> Accounting Folder Id |
| customerId required | integer <int32> Customer Id |
{- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The accounting folder id |
| Reference | string or null |
| UserNotes | string or null |
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 |
{- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "Siren": "string",
- "Nic": "string",
- "LegalName": "string",
- "VatNumber": "string",
- "SelectedPeppolAddressingIdentifier": "string"
}{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "Siren": "string",
- "LegalName": "string",
- "VatNumber": "string",
- "SelectedPeppolAddressingIdentifier": "string"
}| accountingFolderId required | integer <int32> The accounting folder id |
| Reference | string or null |
| UserNotes | string or null |
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 |
{- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "Registration": "string",
- "LegalName": "string",
- "VatNumber": "string"
}{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "Registration": "string",
- "LegalName": "string",
- "VatNumber": "string"
}| accountingFolderId required | integer <int32> The accounting folder id |
| Reference | string or null |
| UserNotes | string or null |
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 |
{- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "FirstName": "string",
- "LastName": "string"
}{- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "FirstName": "string",
- "LastName": "string"
}| accountingFolderId required | integer <int32> The accounting folder id |
Search infos
| PageNumber required | integer <int32> Default: 1 |
| PageSize required | integer <int32> <= 1000 Default: 10 |
| Reference | string or null |
| Name | string or null |
string or null | |
| SearchText | string or null |
| SortColumn required | string Value: "DisplayName" |
| SortDirection required | string Enum: "Ascending" "Descending" |
{- "PageNumber": 1,
- "PageSize": 10,
- "Reference": "string",
- "Name": "string",
- "Email": "string",
- "SearchText": "string",
- "SortColumn": "DisplayName",
- "SortDirection": "Ascending"
}{- "Items": [
- {
- "AccountingFolderId": 0,
- "CustomerId": 0,
- "CustomerType": "Enterprise",
- "Siren": "string",
- "Nic": "string",
- "Reference": "string",
- "UserNotes": "string",
- "Email": "string",
- "PhoneNumber": "string",
- "AccountNumberMapping": 0,
- "SubAccountCodeMapping": "string",
- "BillingAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultPaymentTerms": "OnReceipt",
- "ExcludedFromReminders": true,
- "RowVersion": "string",
- "DisplayName": "string",
- "Contacts": [
- {
- "FirstName": "string",
- "LastName": "string",
- "Phone": "string",
- "Email": "string",
- "Type": "Primary"
}
], - "BilledAmountInclTax": 0,
- "UnpaidAmountInclTax": 0,
- "VatNumber": "string",
- "Registration": "string"
}
], - "PageNumber": 1,
- "PageSize": 1,
- "TotalCount": 1,
- "PageCount": 0,
- "HasPreviousPage": false,
- "HasNextPage": false
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
[- {
- "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
- "AccountingFolderId": 0,
- "Type": "Products",
- "FileUrl": "string",
- "FileName": "string",
- "Rows": 0,
- "CreatedAt": "2019-08-24T14:15:22Z"
}
]| accountingFolderId required | integer <int32> The accounting folder id |
| AccountingFolderId | integer <int32> |
| File | string <binary> |
{- "SuccessfulRecords": 0,
- "FailedRecords": 0,
- "RecordCount": 0,
- "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
- "Errors": [
- {
- "Row": 0,
- "Column": "string",
- "Error": "string",
- "Type": "RowSpecific"
}
]
}| accountingFolderId required | integer <int32> The accounting folder id |
| AccountingFolderId | integer <int32> |
| File | string <binary> |
{- "SuccessfulRecords": 0,
- "FailedRecords": 0,
- "RecordCount": 0,
- "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
- "Errors": [
- {
- "Row": 0,
- "Column": "string",
- "Error": "string",
- "Type": "RowSpecific"
}
]
}| accountingFolderId required | integer <int32> The accounting folder id |
| AccountingFolderId | integer <int32> |
| File | string <binary> |
{- "SuccessfulRecords": 0,
- "FailedRecords": 0,
- "RecordCount": 0,
- "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
- "Errors": [
- {
- "Row": 0,
- "Column": "string",
- "Error": "string",
- "Type": "RowSpecific"
}
]
}| accountingFolderId required | integer <int32> The accounting folder id |
| FileType required | string Enum: "Csv" "Excel" |
{- "FileType": "Csv"
}"string"Excluded is required: a body without it is refused with 400, instead of bringing the customer back.
Branch on the error Name, never on its message:
Customer_NOTFOUND (404): the customer does not exist, or belongs to another folder;FolderSwitchedToEvoliz (403): the folder has switched to Evoliz.Any write may answer 409 Entity_OUTDATED.
| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| customerId required | integer <int32> Customer Identifier |
The new exclusion state of the customer
| Excluded required | boolean |
{- "Excluded": true
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Create Delivery Note Command
| QuoteId required | integer <int32> |
| CustomerId required | integer <int32> |
| DeliveryDate | string or null <date-time> |
Array of objects or null (ProductLineItemsModel) | |
object (DocumentDiscountCommandModel) | |
| FreeTextField | string or null |
{- "QuoteId": 0,
- "CustomerId": 0,
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "FreeTextField": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "DeliveryNoteNumber": 0,
- "UserFormattedDeliveryNoteNumber": "string",
- "Status": "Pending",
- "QuoteId": 0,
- "BuyerId": 0,
- "BuyerName": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "FreeTextField": "string",
- "PdfUrl": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| deliveryNoteId required | integer <int32> Delivery note Identifier |
{- "Id": 0,
- "AccountingFolderId": 0,
- "DeliveryNoteNumber": 0,
- "UserFormattedDeliveryNoteNumber": "string",
- "Status": "Pending",
- "QuoteId": 0,
- "BuyerId": 0,
- "BuyerName": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "FreeTextField": "string",
- "PdfUrl": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| quoteId required | integer <int32> Quote Identifier |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "DeliveryNoteNumber": 0,
- "UserFormattedDeliveryNoteNumber": "string",
- "Status": "Pending",
- "QuoteId": 0,
- "BuyerId": 0,
- "BuyerName": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "FreeTextField": "string",
- "PdfUrl": "string"
}
]| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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> |
Array of objects or null (DocumentSectionModel) | |
| ShowDeliveryAddress | boolean or null |
| RecoveryIndemnityText | string or null |
| 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 |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "ShowDeliveryAddress": true,
- "RecoveryIndemnityText": "string",
- "SubscriptionScheduledActionId": 0,
- "QuoteId": 0,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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> |
Array of objects or null (DocumentSectionModel) | |
| ShowDeliveryAddress | boolean or null |
| RecoveryIndemnityText | string or null |
| 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 |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "ShowDeliveryAddress": true,
- "RecoveryIndemnityText": "string",
- "SubscriptionScheduledActionId": 0,
- "QuoteId": 0,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ScheduledActionId": 0,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| quoteId required | integer <int32> Quote Identifier to convert into a draft invoice |
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 |
{- "AccountingFolderId": 0,
- "QuoteId": 0,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ScheduledActionId": 0,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftId required | integer <int32> Draft Invoice Identifier |
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> |
Array of objects or null (DocumentSectionModel) | |
| ShowDeliveryAddress | boolean or null |
| RecoveryIndemnityText | 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 |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "ShowDeliveryAddress": true,
- "RecoveryIndemnityText": "string",
- "RowVersion": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ScheduledActionId": 0,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftId required | integer <int32> |
{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ScheduledActionId": 0,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftId required | integer <int32> |
| 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> |
Array of objects or null (DocumentSectionModel) | |
| ShowDeliveryAddress | boolean or null |
| RecoveryIndemnityText | string or null |
| RowVersion required | string |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "ShowDeliveryAddress": true,
- "RecoveryIndemnityText": "string",
- "RowVersion": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ScheduledActionId": 0,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| 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> |
Array of objects or null (DocumentSectionModel) | |
| ShowDeliveryAddress | boolean or null |
| RecoveryIndemnityText | string or null |
| SubscriptionScheduledActionId | integer or null <int32> |
| QuoteId | integer or null <int32> |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "ShowDeliveryAddress": true,
- "RecoveryIndemnityText": "string",
- "SubscriptionScheduledActionId": 0,
- "QuoteId": 0
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| 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> |
Array of objects or null (DocumentSectionModel) | |
| ShowDeliveryAddress | boolean or null |
| RecoveryIndemnityText | string or null |
| SubscriptionScheduledActionId | integer or null <int32> |
| QuoteId | integer or null <int32> |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "ShowDeliveryAddress": true,
- "RecoveryIndemnityText": "string",
- "SubscriptionScheduledActionId": 0,
- "QuoteId": 0
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ScheduledActionId": 0,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| quoteId required | integer <int32> Quote Identifier to convert into a draft invoice |
{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ScheduledActionId": 0,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftId required | integer <int32> Draft Identifier |
[- {
- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}
]| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
| VatLegalNoticeType | string or null Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject" |
| VatLegalNoticeText | string or null <= 500 characters |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftQuoteId required | integer <int32> Draft Quote Identifier |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | 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 |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "RowVersion": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftQuoteId required | integer <int32> Draft Quote Identifier |
{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftQuoteId required | integer <int32> Draft Quote Identifier |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
| RowVersion required | string |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "RowVersion": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftQuoteId required | integer <int32> Draft Quote Identifier |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| draftQuoteId required | integer <int32> Draft Quote Identifier |
{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string",
- "UserFormattedQuoteNumber": "string",
- "QuoteNumber": 0,
- "Status": "Pending",
- "BuyerName": "string",
- "BuyerEmail": "string",
- "BuyerType": "Enterprise",
- "PdfUrl": "string",
- "EmailSentDate": "2019-08-24T14:15:22Z",
- "DraftQuoteId": 0
}Hide the simple billing module on isSimpleBillingHidden, never on status == Switched: a switched
folder still shows it read-only. The two facts are independent, and composing them is done here rather than
left to the caller.
stopReason is likewise independent of status: it reports the Evoliz workspace provisioning, so a
switched folder can carry one. It means the provisioning is to be resumed, not that the switch is undone.
| accountingFolderId required | integer <int32> Accounting Folder Id |
{- "Status": "BeforeSwitch",
- "SwitchDate": "2019-08-24T14:15:22Z",
- "MigrationRecap": {
- "State": "NotStarted",
- "ByType": [
- {
- "Type": "Company",
- "MigratedCount": 0,
- "NotMigratedCount": 0,
- "Failures": [
- {
- "Reason": "string",
- "Count": 0
}
], - "NotImported": [
- {
- "Reference": "string",
- "Label": "string",
- "Iban": "string",
- "LegalName": "string",
- "Registration": "string",
- "Nic": "string",
- "CustomerType": "Enterprise",
- "UnitPriceExclTax": 0,
- "CurrencyIsoCode": "string",
- "ProductType": "DeliveryOfGoods",
- "VatRateLabel": "string",
- "Count": 0,
- "Reason": "string"
}
]
}
]
}, - "StopReason": "string",
- "IsSimpleBillingHidden": true,
- "StopDetail": "string",
- "IsAdvancedBillingComingSoon": true,
- "PlannedSwitchDate": "2019-08-24"
}Idempotent. Refused once the folder has switched: the global read-only guard-rail (US #69463) returns 403
beforehand, and the domain invariant (T-6) refuses it on the direct path. Unblocking is out of process.
[UnitOfWork] supplies the transaction the retryable command needs; the repository flushes the write.
| accountingFolderId required | integer <int32> Accounting Folder Id |
| accountingFolderId required | integer <int32> Accounting folder id |
{- "Outcome": "Creation",
- "TargetEvolizCompanyId": 0,
- "TargetEvolizCompanyName": "string",
- "ComputedAt": "2019-08-24T14:15:22Z",
- "TargetEvolizCompanyCode": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Create intermediate invoice command with VAT legal notice
| IssueDate required | string <date-time> |
Array of objects or null (CreateIntermediateInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
| VatLegalNoticeType | string or null Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject" |
| VatLegalNoticeText | string or null <= 500 characters |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Preview command with VAT legal notice
| AccountingFolderId required | integer <int32> |
object (CreateIntermediateInvoiceCommandV2) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| IssueDate required | string <date-time> |
Array of objects or null (CreateIntermediateInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| AccountingFolderId required | integer <int32> |
object (CreateIntermediateInvoiceCommand) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}
}"string"| accountingFolderId required | integer <int32> |
| invoiceId required | integer <int32> |
| 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 |
| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| PageNumber required | integer <int32> Default: 1 |
| PageSize required | integer <int32> <= 1000 Default: 10 |
| DocumentNumber | string or null |
| BuyerName | string or null |
| TotalDocumentPriceInclTax | number or null <decimal> |
| StartDate | string or null <date-time> |
| EndDate | string or null <date-time> |
| Status | string or null Enum: "ToBeCollected" "Paid" "Overdue" "Cancelled" "DraftInProgress" "CreditNote" "Draft" |
| SearchText | string or null |
| SortColumn required | string Enum: "Number" "IssueDate" "DueDate" "TotalTtcAmount" "TotalHtAmount" "ReminderSignal" |
| SortDirection required | string Enum: "Ascending" "Descending" |
| ToRemindOnly | boolean or null |
{- "PageNumber": 1,
- "PageSize": 10,
- "DocumentNumber": "string",
- "BuyerName": "string",
- "TotalDocumentPriceInclTax": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Status": "ToBeCollected",
- "SearchText": "string",
- "SortColumn": "Number",
- "SortDirection": "Ascending",
- "ToRemindOnly": true
}{- "Items": [
- {
- "Id": 0,
- "AccountingFolderId": 0,
- "DocumentNumber": "string",
- "Type": "Draft",
- "Status": "ToBeCollected",
- "BuyerName": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "TotalDocumentPriceExclTax": 0,
- "EmailSentDate": "2019-08-24T14:15:22Z",
- "ReminderSentDate": "2019-08-24T14:15:22Z",
- "IsScheduled": true,
- "IsDeletable": true,
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ReminderSignalLevel": 0,
- "ReminderSignalSince": "2019-08-24T14:15:22Z",
- "LastReminderRank": 0,
- "LastReminderSentAt": "2019-08-24T14:15:22Z",
- "LastReminderOrigin": "ManualSend"
}
], - "PageNumber": 1,
- "PageSize": 1,
- "TotalCount": 1,
- "PageCount": 0,
- "HasPreviousPage": false,
- "HasNextPage": false,
- "AdditionalData": {
- "SortColumn": "Number",
- "SortDirection": "Ascending",
- "CountByInvoiceSearchStatus": {
- "property1": 0,
- "property2": 0
}, - "ToRemindCount": 0,
- "ReminderSignalsEnabled": true
}
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceId required | integer <int32> Invoice Identifier |
{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceIds | Array of integers <int32> [ items <int32 > ] Invoice Identifiers |
[- {
- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}
]| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| bookLetterId required | integer <int32> Invoice Identifier |
[- {
- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}
]| accountingFolderId required | integer <int32> |
object (DocumentDiscountCommandModel) | |
object (DocumentChargeCommandModel) | |
Array of objects or null (ProductLineForComputationModel) | |
Array of objects or null (DocumentSectionModel) | |
| DepositAmount required | number <decimal> |
| RoundingAmount required | number <decimal> |
{- "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}
], - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "DepositAmount": 0,
- "RoundingAmount": 0
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "DepositAmount": 0,
- "RoundingAmount": 0,
- "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}
}| accountingFolderId required | integer <int32> |
| invoiceId required | integer <int32> |
| TransactionIds | Array of integers or null <int32> [ items <int32 > ] |
{- "TransactionIds": [
- 0
]
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> |
| invoiceId required | integer <int32> |
| IsAutomaticLettering required | boolean |
Array of objects or null (SetInvoicePaymentFromLetteredLineCommand) |
{- "IsAutomaticLettering": true,
- "LetteredLines": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "EntryLineId": 0,
- "BookLetterId": 0,
- "TransactionId": 0
}
]
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> |
| invoiceId required | integer <int32> |
| 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 |
{- "Subject": "string",
- "Body": "string",
- "To": [
- "string"
], - "Cc": [
- "string"
], - "Bcc": [
- "string"
]
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceId required | integer <int32> Invoice Identifier |
{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| FromDate | string or null <date-time> |
| ToDate | string or null <date-time> |
{- "FromDate": "2019-08-24T14:15:22Z",
- "ToDate": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> |
| CustomerId required | integer <int32> |
| InvoiceDate | string or null <date-time> |
Array of objects or null (ProductVatChoiceViewModel) |
{- "CustomerId": 0,
- "InvoiceDate": "2019-08-24T14:15:22Z",
- "ProductVatChoices": [
- {
- "ProductId": 0,
- "VatRatePercentage": 0
}
]
}{- "ProductLines": [
- {
- "ProductId": 0,
- "VatRule": "All"
}
], - "LegalNoticeOptions": [
- {
- "LegalNoticeType": "ExemptionArticle261D4",
- "Label": "string",
- "RequiresCustomText": true
}
], - "DefaultLegalNoticeType": "ExemptionArticle261D4"
}Le corps remplace la totalite des parametres : un champ omis est efface. ReminderConfiguration est
la seule exception : absent, il ne touche a rien et le reglage de relance reste celui ecrit par la V1 ;
present, il fait foi et remplace la sequence, l'interrupteur maitre et la liste des clients exclus.
A l'interieur du bloc, l'interrupteur maitre suit la meme regle : absent, il reste tel quel ; fourni,
il remplace la valeur en cours.
La sequence est soit vide, soit exactement trois niveaux de rangs distincts, strictement croissants
sur leur position par rapport a l'echeance. Chaque niveau exige un objet de mail non vide d'au plus
128 caracteres et un corps non vide, et accepte au plus dix adresses en copie. Activer les relances
exige les trois niveaux.
| accountingFolderId required | integer <int32> |
| 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) | |
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 |
object (ReminderConfigurationModel) |
{- "CommercialName": "string",
- "HeadquarterAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultCurrencyId": 0,
- "SellerEmail": "string",
- "SellerPhone": "string",
- "SellerVatNumber": "string",
- "DefaultProductType": "DeliveryOfGoods",
- "BankAccountInfo": [
- {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}
], - "DefaultPaymentTerms": "OnReceipt",
- "InvoiceNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0
}, - "QuotationNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0
}, - "DefaultVatId": 0,
- "DefaultProductCategoryId": 0,
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ShareCapital": 0,
- "DefaultDocumentPrimaryColor": {
- "Color": "string"
}, - "VatAccountPerRates": [
- {
- "VatRateId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "AccountsByProductCategory": [
- {
- "CategoryId": 0,
- "Label": "string",
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "IsSuffixRuleEnabled": true,
- "SuffixRules": [
- {
- "VatRateId": 0,
- "Suffix": "string"
}
], - "RowVersion": "string",
- "ReminderConfiguration": {
- "Enabled": true,
- "ExcludedCustomerIds": [
- 0
], - "Levels": [
- {
- "Rank": 0,
- "Days": 0,
- "Moment": "BeforeDueDate",
- "Subject": "string",
- "Body": "string",
- "CcAddresses": [
- "string"
], - "AutomaticSendEnabled": true
}
]
}
}{- "AccountingFolderId": 0,
- "LegalInformation": {
- "Siren": "string",
- "Nic": "string",
- "Siret": "string",
- "LegalName": "string",
- "LegalForm": {
- "Id": 0,
- "Description": "string",
- "Code": "string"
}, - "VatNumber": "string",
- "ShareCapital": {
- "Capital": 0,
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}
}, - "Ape": "string",
- "RegistrationType": "string",
- "RegistrationCity": "string"
}, - "CommercialName": "string",
- "HeadquarterAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "SellerEmail": "string",
- "SellerPhone": "string",
- "DefaultProductType": "DeliveryOfGoods",
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "BankAccountInfo": [
- {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}
], - "DefaultPaymentTerms": "OnReceipt",
- "InvoiceNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "QuotationNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "LogoUrl": "string",
- "DefaultVatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "DefaultProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DefaultDocumentPrimaryColor": "string",
- "EmailReminder": {
- "Enabled": true,
- "EmailBody": "string",
- "Days": 0,
- "Moment": "BeforeDueDate",
- "ExcludedContactIds": [
- 0
]
}, - "ReminderConfiguration": {
- "Enabled": true,
- "ExcludedCustomerIds": [
- 0
], - "Levels": [
- {
- "Rank": 0,
- "Days": 0,
- "Moment": "BeforeDueDate",
- "Subject": "string",
- "Body": "string",
- "CcAddresses": [
- "string"
], - "AutomaticSendEnabled": true
}
]
}, - "VatAccountPerRates": [
- {
- "VatRateId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "Source": "Synchronized",
- "DefaultReason": "NoMapping",
- "SyncedAccount": {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}, - "ConflictingAccounts": [
- {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
]
}
], - "IsVatMappingInitialized": true,
- "AccountsByProductCategory": [
- {
- "CategoryId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "IsSubAccount7GenerationAvailable": true,
- "IsAdvancedRemindersAvailable": true,
- "IsSuffixRuleEnabled": true,
- "SuffixRules": [
- {
- "VatRateId": 0,
- "Suffix": "string"
}
], - "ParameterExist": true,
- "IsProvisionedInEvoliz": true,
- "RowVersion": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Id |
{- "AccountingFolderId": 0,
- "LegalInformation": {
- "Siren": "string",
- "Nic": "string",
- "Siret": "string",
- "LegalName": "string",
- "LegalForm": {
- "Id": 0,
- "Description": "string",
- "Code": "string"
}, - "VatNumber": "string",
- "ShareCapital": {
- "Capital": 0,
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}
}, - "Ape": "string",
- "RegistrationType": "string",
- "RegistrationCity": "string"
}, - "CommercialName": "string",
- "HeadquarterAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "SellerEmail": "string",
- "SellerPhone": "string",
- "DefaultProductType": "DeliveryOfGoods",
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "BankAccountInfo": [
- {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}
], - "DefaultPaymentTerms": "OnReceipt",
- "InvoiceNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "QuotationNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "LogoUrl": "string",
- "DefaultVatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "DefaultProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DefaultDocumentPrimaryColor": "string",
- "EmailReminder": {
- "Enabled": true,
- "EmailBody": "string",
- "Days": 0,
- "Moment": "BeforeDueDate",
- "ExcludedContactIds": [
- 0
]
}, - "ReminderConfiguration": {
- "Enabled": true,
- "ExcludedCustomerIds": [
- 0
], - "Levels": [
- {
- "Rank": 0,
- "Days": 0,
- "Moment": "BeforeDueDate",
- "Subject": "string",
- "Body": "string",
- "CcAddresses": [
- "string"
], - "AutomaticSendEnabled": true
}
]
}, - "VatAccountPerRates": [
- {
- "VatRateId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "Source": "Synchronized",
- "DefaultReason": "NoMapping",
- "SyncedAccount": {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}, - "ConflictingAccounts": [
- {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
]
}
], - "IsVatMappingInitialized": true,
- "AccountsByProductCategory": [
- {
- "CategoryId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "IsSubAccount7GenerationAvailable": true,
- "IsAdvancedRemindersAvailable": true,
- "IsSuffixRuleEnabled": true,
- "SuffixRules": [
- {
- "VatRateId": 0,
- "Suffix": "string"
}
], - "ParameterExist": true,
- "IsProvisionedInEvoliz": true,
- "RowVersion": "string",
- "RecoveryIndemnityText": "string"
}Le corps remplace la totalité des paramètres : un champ omis est effacé. EmailReminder est la seule
exception : absent, il coupe les relances sans rien effacer — le délai, le corps, le moment, la séquence
et la liste des clients exclus restent en place — et, n'exprimant aucune liste, il ne réconcilie pas les
exclusions. Présent, il fait foi et remplace le réglage ; son Enabled pilote aussi l'interrupteur maître
de la séquence quand le dossier en porte une. Une liste d'exclusions vide reste une dés-exclusion explicite.
| accountingFolderId required | integer <int32> |
| 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) | |
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 |
object (EmailReminderModel) |
{- "CommercialName": "string",
- "HeadquarterAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DefaultCurrencyId": 0,
- "SellerEmail": "string",
- "SellerPhone": "string",
- "SellerVatNumber": "string",
- "DefaultProductType": "DeliveryOfGoods",
- "BankAccountInfo": [
- {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}
], - "DefaultPaymentTerms": "OnReceipt",
- "InvoiceNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0
}, - "QuotationNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0
}, - "DefaultVatId": 0,
- "DefaultProductCategoryId": 0,
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "ShareCapital": 0,
- "DefaultDocumentPrimaryColor": {
- "Color": "string"
}, - "VatAccountPerRates": [
- {
- "VatRateId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "AccountsByProductCategory": [
- {
- "CategoryId": 0,
- "Label": "string",
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "IsSuffixRuleEnabled": true,
- "SuffixRules": [
- {
- "VatRateId": 0,
- "Suffix": "string"
}
], - "RowVersion": "string",
- "EmailReminder": {
- "Enabled": true,
- "Days": 0,
- "EmailBody": "string",
- "Moment": "BeforeDueDate",
- "ExcludedContactIds": [
- 0
]
}
}{- "AccountingFolderId": 0,
- "LegalInformation": {
- "Siren": "string",
- "Nic": "string",
- "Siret": "string",
- "LegalName": "string",
- "LegalForm": {
- "Id": 0,
- "Description": "string",
- "Code": "string"
}, - "VatNumber": "string",
- "ShareCapital": {
- "Capital": 0,
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}
}, - "Ape": "string",
- "RegistrationType": "string",
- "RegistrationCity": "string"
}, - "CommercialName": "string",
- "HeadquarterAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "SellerEmail": "string",
- "SellerPhone": "string",
- "DefaultProductType": "DeliveryOfGoods",
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "BankAccountInfo": [
- {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}
], - "DefaultPaymentTerms": "OnReceipt",
- "InvoiceNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "QuotationNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "LogoUrl": "string",
- "DefaultVatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "DefaultProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DefaultDocumentPrimaryColor": "string",
- "EmailReminder": {
- "Enabled": true,
- "EmailBody": "string",
- "Days": 0,
- "Moment": "BeforeDueDate",
- "ExcludedContactIds": [
- 0
]
}, - "ReminderConfiguration": {
- "Enabled": true,
- "ExcludedCustomerIds": [
- 0
], - "Levels": [
- {
- "Rank": 0,
- "Days": 0,
- "Moment": "BeforeDueDate",
- "Subject": "string",
- "Body": "string",
- "CcAddresses": [
- "string"
], - "AutomaticSendEnabled": true
}
]
}, - "VatAccountPerRates": [
- {
- "VatRateId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "Source": "Synchronized",
- "DefaultReason": "NoMapping",
- "SyncedAccount": {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}, - "ConflictingAccounts": [
- {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
]
}
], - "IsVatMappingInitialized": true,
- "AccountsByProductCategory": [
- {
- "CategoryId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "IsSubAccount7GenerationAvailable": true,
- "IsAdvancedRemindersAvailable": true,
- "IsSuffixRuleEnabled": true,
- "SuffixRules": [
- {
- "VatRateId": 0,
- "Suffix": "string"
}
], - "ParameterExist": true,
- "IsProvisionedInEvoliz": true,
- "RowVersion": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> |
| vatRateId required | integer <int32> |
| RowVersion | string or null |
{- "RowVersion": "string"
}{- "AccountingFolderId": 0,
- "LegalInformation": {
- "Siren": "string",
- "Nic": "string",
- "Siret": "string",
- "LegalName": "string",
- "LegalForm": {
- "Id": 0,
- "Description": "string",
- "Code": "string"
}, - "VatNumber": "string",
- "ShareCapital": {
- "Capital": 0,
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}
}, - "Ape": "string",
- "RegistrationType": "string",
- "RegistrationCity": "string"
}, - "CommercialName": "string",
- "HeadquarterAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "SellerEmail": "string",
- "SellerPhone": "string",
- "DefaultProductType": "DeliveryOfGoods",
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "BankAccountInfo": [
- {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}
], - "DefaultPaymentTerms": "OnReceipt",
- "InvoiceNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "QuotationNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "LogoUrl": "string",
- "DefaultVatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "DefaultProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DefaultDocumentPrimaryColor": "string",
- "EmailReminder": {
- "Enabled": true,
- "EmailBody": "string",
- "Days": 0,
- "Moment": "BeforeDueDate",
- "ExcludedContactIds": [
- 0
]
}, - "ReminderConfiguration": {
- "Enabled": true,
- "ExcludedCustomerIds": [
- 0
], - "Levels": [
- {
- "Rank": 0,
- "Days": 0,
- "Moment": "BeforeDueDate",
- "Subject": "string",
- "Body": "string",
- "CcAddresses": [
- "string"
], - "AutomaticSendEnabled": true
}
]
}, - "VatAccountPerRates": [
- {
- "VatRateId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "Source": "Synchronized",
- "DefaultReason": "NoMapping",
- "SyncedAccount": {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}, - "ConflictingAccounts": [
- {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
]
}
], - "IsVatMappingInitialized": true,
- "AccountsByProductCategory": [
- {
- "CategoryId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "IsSubAccount7GenerationAvailable": true,
- "IsAdvancedRemindersAvailable": true,
- "IsSuffixRuleEnabled": true,
- "SuffixRules": [
- {
- "VatRateId": 0,
- "Suffix": "string"
}
], - "ParameterExist": true,
- "IsProvisionedInEvoliz": true,
- "RowVersion": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> |
| RowVersion | string or null |
{- "RowVersion": "string"
}{- "AccountingFolderId": 0,
- "LegalInformation": {
- "Siren": "string",
- "Nic": "string",
- "Siret": "string",
- "LegalName": "string",
- "LegalForm": {
- "Id": 0,
- "Description": "string",
- "Code": "string"
}, - "VatNumber": "string",
- "ShareCapital": {
- "Capital": 0,
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}
}, - "Ape": "string",
- "RegistrationType": "string",
- "RegistrationCity": "string"
}, - "CommercialName": "string",
- "HeadquarterAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "SellerEmail": "string",
- "SellerPhone": "string",
- "DefaultProductType": "DeliveryOfGoods",
- "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "BankAccountInfo": [
- {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}
], - "DefaultPaymentTerms": "OnReceipt",
- "InvoiceNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "QuotationNumberFormat": {
- "PrefixTemplate": "string",
- "UserDefinedNextNumber": 0,
- "MinimalNextNumber": 0,
- "NextNumberToDisplay": 0
}, - "LogoUrl": "string",
- "DefaultVatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "DefaultProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DefaultDocumentPrimaryColor": "string",
- "EmailReminder": {
- "Enabled": true,
- "EmailBody": "string",
- "Days": 0,
- "Moment": "BeforeDueDate",
- "ExcludedContactIds": [
- 0
]
}, - "ReminderConfiguration": {
- "Enabled": true,
- "ExcludedCustomerIds": [
- 0
], - "Levels": [
- {
- "Rank": 0,
- "Days": 0,
- "Moment": "BeforeDueDate",
- "Subject": "string",
- "Body": "string",
- "CcAddresses": [
- "string"
], - "AutomaticSendEnabled": true
}
]
}, - "VatAccountPerRates": [
- {
- "VatRateId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "Source": "Synchronized",
- "DefaultReason": "NoMapping",
- "SyncedAccount": {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}, - "ConflictingAccounts": [
- {
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
]
}
], - "IsVatMappingInitialized": true,
- "AccountsByProductCategory": [
- {
- "CategoryId": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string"
}
], - "IsSubAccount7GenerationAvailable": true,
- "IsAdvancedRemindersAvailable": true,
- "IsSuffixRuleEnabled": true,
- "SuffixRules": [
- {
- "VatRateId": 0,
- "Suffix": "string"
}
], - "ParameterExist": true,
- "IsProvisionedInEvoliz": true,
- "RowVersion": "string",
- "RecoveryIndemnityText": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Create pre-payment invoice command with VAT legal notice
| IssueDate required | string <date-time> |
Array of objects or null (CreatePrePaymentInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
| VatLegalNoticeType | string or null Enum: "ExemptionArticle261D4" "ExemptionArticle262I" "ExemptionArticle262TerI" "ExemptionArticle2591" "ExemptionArticle259B" "BaseExemption" "CustomMention" "VatIssuedInvoices" "ReverseCharge" "NotSubject" |
| VatLegalNoticeText | string or null <= 500 characters |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Preview command with VAT legal notice
| AccountingFolderId required | integer <int32> |
object (CreatePrePaymentInvoiceCommandV2) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}
}"string"| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| IssueDate required | string <date-time> |
Array of objects or null (CreatePrePaymentInvoiceLineCommand) | |
| FreeTextField | string or null |
Array of objects or null (DocumentSectionModel) | |
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> |
| ShowDeliveryAddress | boolean or null |
| 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 |
| RecoveryIndemnityText | string or null |
{- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}{- "DocumentDiscounts": [
- {
- "VatRate": 0,
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "DocumentCharges": [
- {
- "VatRate": 0,
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "ProductLines": [
- {
- "UniqueId": "string",
- "VatRate": 0,
- "VatRateFacturXCode": "string",
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": [
- {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "LineCharges": [
- {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string",
- "BasisAmount": 0,
- "ActualAmount": 0
}
], - "PcgAccountNumberMapping": 0,
- "PcgSubAccountCodeMapping": "string",
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0,
- "MeasureUnitCode": "string",
- "ItemName": "string",
- "ItemDescription": "string",
- "OperationNature": "Goods"
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "VatTotalAmounts": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "CalculatedAmount": 0
}
], - "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": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "LegalName": "string",
- "LegalForm": "string",
- "CommercialName": "string",
- "Siren": "string",
- "Siret": "string",
- "VatNumber": "string",
- "Email": "string",
- "ShareCapital": 0,
- "ShareCapitalCurrency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "PhoneNumber": "string"
}, - "InvoiceBuyer": {
- "PostalAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "DeliveryAddress": {
- "AddressType": "Billing",
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "ZipCode": "string",
- "City": "string",
- "State": "string",
- "CountryIsoCode": "string",
- "UserNotes": "string"
}, - "Name": "string",
- "Registration": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "CustomerId": 0
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "Bic": "string",
- "BankName": "string"
}
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "RecoveryIndemnityText": "string"
}, - "InvoicePayments": {
- "Origin": "None",
- "Payments": [
- {
- "Label": "string",
- "Amount": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "TransactionId": 0,
- "EntryLineId": 0,
- "BookLetterId": 0
}
], - "ArePaymentsEditableByAutomaticLettering": true,
- "ArePaymentsEditableByUser": true,
- "ArePaymentsEditableByManualLettering": true
}, - "LinkedCreditNotes": [
- {
- "Id": 0,
- "CreditNoteNumber": "string",
- "Amount": 0,
- "IssueDate": "2019-08-24T14:15:22Z"
}
], - "ElectronicInvoiceEligibility": {
- "Status": "NotConcerned",
- "ActionRequiredReason": "None",
- "CheckedAt": "2019-08-24T14:15:22Z"
}, - "PdfUrl": "string",
- "FreeTextField": "string",
- "Status": "ToBeCollected",
- "PaymentReference": "string",
- "AccountingDocumentId": 0,
- "InvoiceReferences": [
- {
- "IssuerAssignedId": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "IssuerInvoice": { }
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "ScheduledActionId": 0,
- "IsCancellable": true,
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "DraftId": 0,
- "HasDiscountConditions": true,
- "ShowDeliveryAddress": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ElectronicTransmissionStatus": "None"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| AccountingFolderId required | integer <int32> |
object (CreatePrePaymentInvoiceCommand) |
{- "AccountingFolderId": 0,
- "CreateInvoiceCommand": {
- "IssueDate": "2019-08-24T14:15:22Z",
- "InvoiceLineItems": [
- {
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "ProductDescription": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "FreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "CustomerId": 0,
- "PublicTenderIdentifier": "string",
- "BankAccountInfoIds": [
- 0
], - "PaymentTerms": "OnReceipt",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "ShowDeliveryAddress": true,
- "LatePenaltyText": "string",
- "PaymentMeanId": 0,
- "DraftInvoiceId": 0,
- "PreviousInvoiceId": 0,
- "SubscriptionScheduledActionId": 0,
- "Amount": 0,
- "AmountValueType": "Amount",
- "DiscountConditionsFreeTextField": "string",
- "RecoveryIndemnityText": "string"
}
}"string"| accountingFolderId required | integer <int32> |
| productIds | Array of integers <int32> [ items <int32 > ] |
[- {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "AccountingFolderId": 0,
- "Name": "string",
- "Description": "string",
- "UnitPriceExclTax": 0,
- "UnitPriceInclTax": 0,
- "PurchasePriceExclTax": 0,
- "GrossMarginExclTax": 0,
- "MarginRateOnPurchasePrice": 0,
- "MarginRateOnSalePrice": 0,
- "MeasureUnit": {
- "Id": 0,
- "Name": "string",
- "Code": "string"
}, - "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "VatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "ProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "Reference": "string",
- "RowVersion": "string"
}
]| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| Name required | string non-empty |
| ProductType required | string Enum: "DeliveryOfGoods" "ServiceDelivery" |
| Description | string or null |
| UnitId required | integer <int32> |
| UnitPriceExclTax required | number <decimal> |
| PurchasePriceExclTax | number or null <decimal> |
| VatId required | integer <int32> |
| ProductCategoryId required | integer <int32> |
| Reference | string or null |
{- "Name": "string",
- "ProductType": "DeliveryOfGoods",
- "Description": "string",
- "UnitId": 0,
- "UnitPriceExclTax": 0,
- "PurchasePriceExclTax": 0,
- "VatId": 0,
- "ProductCategoryId": 0,
- "Reference": "string"
}{- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "AccountingFolderId": 0,
- "Name": "string",
- "Description": "string",
- "UnitPriceExclTax": 0,
- "UnitPriceInclTax": 0,
- "PurchasePriceExclTax": 0,
- "GrossMarginExclTax": 0,
- "MarginRateOnPurchasePrice": 0,
- "MarginRateOnSalePrice": 0,
- "MeasureUnit": {
- "Id": 0,
- "Name": "string",
- "Code": "string"
}, - "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "VatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "ProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "Reference": "string",
- "RowVersion": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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" |
{- "PageNumber": 1,
- "PageSize": 10,
- "Name": "string",
- "Reference": "string",
- "SearchText": "string",
- "SortColumn": "Name",
- "SortDirection": "Ascending"
}{- "Items": [
- {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "AccountingFolderId": 0,
- "Name": "string",
- "Description": "string",
- "UnitPriceExclTax": 0,
- "UnitPriceInclTax": 0,
- "PurchasePriceExclTax": 0,
- "GrossMarginExclTax": 0,
- "MarginRateOnPurchasePrice": 0,
- "MarginRateOnSalePrice": 0,
- "MeasureUnit": {
- "Id": 0,
- "Name": "string",
- "Code": "string"
}, - "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "VatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "ProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "Reference": "string",
- "RowVersion": "string"
}
], - "PageNumber": 1,
- "PageSize": 1,
- "TotalCount": 1,
- "PageCount": 0,
- "HasPreviousPage": false,
- "HasNextPage": false
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| productId required | integer <int32> Product Identifier |
| Name required | string non-empty |
| ProductType required | string Enum: "DeliveryOfGoods" "ServiceDelivery" |
| Description | string or null |
| UnitId required | integer <int32> |
| UnitPriceExclTax required | number <decimal> |
| PurchasePriceExclTax | number or null <decimal> |
| VatId required | integer <int32> |
| ProductCategoryId required | integer <int32> |
| Reference | string or null |
| RowVersion required | string |
{- "Name": "string",
- "ProductType": "DeliveryOfGoods",
- "Description": "string",
- "UnitId": 0,
- "UnitPriceExclTax": 0,
- "PurchasePriceExclTax": 0,
- "VatId": 0,
- "ProductCategoryId": 0,
- "Reference": "string",
- "RowVersion": "string"
}{- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "AccountingFolderId": 0,
- "Name": "string",
- "Description": "string",
- "UnitPriceExclTax": 0,
- "UnitPriceInclTax": 0,
- "PurchasePriceExclTax": 0,
- "GrossMarginExclTax": 0,
- "MarginRateOnPurchasePrice": 0,
- "MarginRateOnSalePrice": 0,
- "MeasureUnit": {
- "Id": 0,
- "Name": "string",
- "Code": "string"
}, - "Currency": {
- "Id": 0,
- "Name": "string",
- "Symbol": "string",
- "IsoCode": "string"
}, - "VatRate": {
- "Id": 0,
- "Label": "string",
- "Percentage": 0
}, - "ProductCategory": {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}, - "Reference": "string",
- "RowVersion": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
[- {
- "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
- "AccountingFolderId": 0,
- "Type": "Products",
- "FileUrl": "string",
- "FileName": "string",
- "Rows": 0,
- "CreatedAt": "2019-08-24T14:15:22Z"
}
]| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| AccountingFolderId | integer <int32> |
| File | string <binary> |
{- "SuccessfulRecords": 0,
- "FailedRecords": 0,
- "RecordCount": 0,
- "ImportSessionId": "8551cc30-3ff0-4efd-b30d-184274eeabc4",
- "Errors": [
- {
- "Row": 0,
- "Column": "string",
- "Error": "string",
- "Type": "RowSpecific"
}
]
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| with-usage | boolean Default: false Include product usage count for each category |
[- {
- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}
]| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Create product category command
| AccountNumber required | integer <int32> |
| Label | string or null |
| SubAccountCode | string or null |
{- "AccountNumber": 0,
- "Label": "string",
- "SubAccountCode": "string"
}{- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| productCategoryId required | integer <int32> Product Category Identifier |
Update product category command
| Label | string or null |
| AccountNumber required | integer <int32> |
| SubAccountCode | string or null |
{- "Label": "string",
- "AccountNumber": 0,
- "SubAccountCode": "string"
}{- "Id": 0,
- "Label": "string",
- "PcgAccountNumber": 0,
- "AccountNumber": 0,
- "SubAccountCode": "string",
- "IsSystemCategory": true,
- "UsageCount": 0
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| productCategoryId required | integer <int32> Product Category Identifier |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| accountingFolderId required | integer <int32> The accounting folder id |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | 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 |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "PreviousQuoteId": 0,
- "DraftQuoteId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string",
- "UserFormattedQuoteNumber": "string",
- "QuoteNumber": 0,
- "Status": "Pending",
- "BuyerName": "string",
- "BuyerEmail": "string",
- "BuyerType": "Enterprise",
- "PdfUrl": "string",
- "EmailSentDate": "2019-08-24T14:15:22Z",
- "DraftQuoteId": 0
}| accountingFolderId required | integer <int32> |
| quoteId required | integer <int32> |
| 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 |
| accountingFolderId required | integer <int32> Accounting Folder Identifier |
Filter, pagination and ordering parameters
| PageNumber required | integer <int32> Default: 1 |
| PageSize required | integer <int32> <= 1000 Default: 10 |
| QuoteNumber | string or null |
| BuyerName | string or null |
| MinTotalDocumentInclTax | number or null <decimal> |
| MaxTotalDocumentInclTax | number or null <decimal> |
| StartDate | string or null <date-time> |
| EndDate | string or null <date-time> |
| Status | string or null Enum: "Pending" "Approved" "Rejected" "Expired" "Archived" "Draft" |
| SearchText | string or null |
| SortColumn required | string Enum: "Number" "IssueDate" "DueDate" "TotalTtcAmount" "TotalHtAmount" |
| SortDirection required | string Enum: "Ascending" "Descending" |
{- "PageNumber": 1,
- "PageSize": 10,
- "QuoteNumber": "string",
- "BuyerName": "string",
- "MinTotalDocumentInclTax": 0,
- "MaxTotalDocumentInclTax": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "Status": "Pending",
- "SearchText": "string",
- "SortColumn": "Number",
- "SortDirection": "Ascending"
}{- "Items": [
- {
- "Id": 0,
- "UserFormattedQuoteNumber": "string",
- "QuoteNumber": 0,
- "Status": "Pending",
- "BuyerName": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "TotalDocumentPriceExclTax": 0
}
], - "PageNumber": 1,
- "PageSize": 1,
- "TotalCount": 1,
- "PageCount": 0,
- "HasPreviousPage": false,
- "HasNextPage": false,
- "AdditionalData": {
- "SortColumn": "Number",
- "SortDirection": "Ascending",
- "CountByQuoteSearchStatus": {
- "property1": 0,
- "property2": 0
}
}
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| quoteId required | integer <int32> |
{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string",
- "UserFormattedQuoteNumber": "string",
- "QuoteNumber": 0,
- "Status": "Pending",
- "BuyerName": "string",
- "BuyerEmail": "string",
- "BuyerType": "Enterprise",
- "PdfUrl": "string",
- "EmailSentDate": "2019-08-24T14:15:22Z",
- "DraftQuoteId": 0
}| accountingFolderId required | integer <int32> The accounting folder id |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | 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 |
{- "CustomerId": 0,
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "PreviousQuoteId": 0,
- "DraftQuoteId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string",
- "UserFormattedQuoteNumber": "string",
- "QuoteNumber": 0,
- "Status": "Pending",
- "BuyerName": "string",
- "BuyerEmail": "string",
- "BuyerType": "Enterprise",
- "PdfUrl": "string",
- "EmailSentDate": "2019-08-24T14:15:22Z",
- "DraftQuoteId": 0
}| accountingFolderId required | integer <int32> |
| AccountingFolderId required | integer <int32> |
| QuoteId required | integer <int32> |
| NewStatus required | string Enum: "Pending" "Approved" "Rejected" "Expired" "Archived" |
{- "AccountingFolderId": 0,
- "QuoteId": 0,
- "NewStatus": "Pending"
}{- "ProductLines": [
- {
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "Description": "string",
- "TotalPriceExclTax": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "Product": {
- "Id": 0,
- "ProductType": "DeliveryOfGoods",
- "Name": "string",
- "Description": "string",
- "Reference": "string"
}, - "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "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": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "LatePenaltyText": "string",
- "FreeTextField": "string",
- "GroupingId": "25a5bfed-14e9-429b-953f-de0ea952b174",
- "RowVersion": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RecoveryIndemnityText": "string",
- "UserFormattedQuoteNumber": "string",
- "QuoteNumber": 0,
- "Status": "Pending",
- "BuyerName": "string",
- "BuyerEmail": "string",
- "BuyerType": "Enterprise",
- "PdfUrl": "string",
- "EmailSentDate": "2019-08-24T14:15:22Z",
- "DraftQuoteId": 0
}| accountingFolderId required | integer <int32> |
| quoteId required | integer <int32> |
| 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 |
{- "Subject": "string",
- "Body": "string",
- "To": [
- "string"
], - "Cc": [
- "string"
], - "Bcc": [
- "string"
]
}A field that is absent or null in the response means "none": treat both the same way.
Dates are UTC, even when they are written without a Z suffix. Enumerations are written by name.
Invoice: RemainingAmountInclTax is the remaining amount due including tax, payments and credit notes
deducted, the one the reminder signal uses.LastReminder: the last reminder sent to the customer, whatever the invoice, not the last reminder of this
invoice served by the search; absent when the customer has never been reminded. Origin is ManualSend,
AutomaticSend or LegacyMigration (a reminder taken over from the former engine).ProposedRank: the rank of the level to propose by default.Levels: never empty; each level carries its subject and body already rendered for this invoice, and its
Recipients: those the mail would be sent to at this level, the customer's contacts plus the level's copies,
without duplicates. They can be edited before sending. To may be empty, and sending is then refused.PdfSizeInBytes: the size of the invoice PDF; absent when the PDF is missing or its file is not found.ReminderEngineEnabled: true when the folder's reminder sequence is on and the folder has switched to the new
reminder engine.CanSend: sending a reminder is allowed; false on a folder switched to Evoliz. It does not depend on the
customer's exclusion: an excluded customer can still be reminded manually.CanSetAside, CanExclude: setting the signal aside and excluding the customer are allowed; both are false on a
folder switched to Evoliz.CanReactivateEngine: true when the reminder sequence is off, the folder has switched to the new reminder engine
and it has not switched to Evoliz; it drives the reactivation banner.On a folder still served by the former reminder engine, the panel signals nothing, as the invoice search does:
ProposedRank is 1, ReminderEngineEnabled and CanReactivateEngine are false. CanSetAside stays true there,
but a set-aside recorded on such a folder only takes effect once it switches to the new engine: the former engine
does not read it, and the switch is final.
On a folder switched to Evoliz, reading is still served, but sending, setting aside and excluding are refused
with 403 FolderSwitchedToEvoliz. CanSend, CanSetAside and CanExclude only reflect that switch: on a folder
still migrating to Evoliz, the write can be refused with 403 EvolizFolderWithoutBillingSetup while they are true.
Branch on the error Name, never on its message:
Invoice_NOT_FOUND (400): the invoice does not exist in the folder or, for an Employee, belongs to a colleague;SendReminderInvoicePaid (417): the invoice has no remaining amount due, which is also the case of a cancelled invoice;SendReminderCreditNoteNotAllowed (417): a credit note cannot be reminded;Customer_NOTFOUND (404): the invoice is attached to no customer.| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| invoiceId required | integer <int32> Invoice Identifier |
{- "Invoice": {
- "Id": 0,
- "Number": "string",
- "DueDate": "2019-08-24T14:15:22Z",
- "RemainingAmountInclTax": 0
}, - "Customer": {
- "Id": 0,
- "Name": "string",
- "ExcludedFromReminders": true
}, - "LastReminder": {
- "SentAt": "2019-08-24T14:15:22Z",
- "Origin": "ManualSend"
}, - "ProposedRank": 0,
- "Levels": [
- {
- "Rank": 0,
- "Subject": "string",
- "Body": "string",
- "Recipients": {
- "To": [
- "string"
], - "Cc": [
- "string"
], - "Bcc": [
- "string"
]
}
}
], - "PdfSizeInBytes": 0,
- "ReminderEngineEnabled": true,
- "CanSend": true,
- "CanSetAside": true,
- "CanExclude": true,
- "CanReactivateEngine": true
}Subject, Body and Recipients are optional and independent: they carry the text and recipients edited in the
reminder panel, each one provided replaces the server's, and each one absent is computed server-side as above.
Subject and Body are sent as received, without resolving variables: a {{…}} typed by hand is sent as is.Recipients replaces all the computed recipients, the level's copies included. Addresses are trimmed and empty
entries ignored; an address found in several fields, case ignored, is kept once in the most visible one,
To then Cc then Bcc. Duplicates are merged, never refused.Branch on the error Name, never on its message:
SendReminderInvoicePaid (417): the invoice has no remaining amount due, which is the case of a cancelled
invoice settled by its credit note;SendReminderCreditNoteNotAllowed (417): a credit note cannot be reminded;SendReminderLevelNotFound (417): the requested rank is outside 1 to 3;RecipientsRequired (417): no main recipient;RecipientContainsSeparator (417): an edited address contains ;;TotalSizeExceeded (417): the attachments, invoice PDF included, exceed 10 MB in total;Invoice_NOT_FOUND (400): the invoice does not exist in the folder or, for an Employee, belongs to a colleague;Customer_NOTFOUND (404): the invoice is attached to no customer;Subject_EMPTY, Body_EMPTY (400): the subject or the body of the mail is empty;Subject_LENGTH, Body_LENGTH (400): the edited subject exceeds 998 characters, or the edited body 4000;AddressTo_INVALID, AddressCc_INVALID, AddressBcc_INVALID (400): an address of that field is not a valid
email address;FolderSwitchedToEvoliz (403): the folder has switched to Evoliz.These refusals carry their code in ErrorCode instead of Name:
INVOICE_IS_CANCELLED (422): the invoice is cancelled and still has an amount due;EMPTY_PDF_URL (422): the invoice has no PDF;INVOICE_DOWNLOAD_ERROR (422): the invoice PDF file is not found;EMAIL_SEND_FAILED (422): the mail service did not accept the mail, and no reminder is recorded.Any write may answer 409 Entity_OUTDATED. Two simultaneous sends of the same invoice may both mail the customer,
the second one answering 409 Entity_OUTDATED with no reminder recorded.
| accountingFolderId required | integer <int32> Accounting Folder Identifier |
The invoice to remind, the rank of the level to send, and optionally the edited subject, body and recipients
| InvoiceId required | integer <int32> |
| Rank required | integer <int32> |
| Subject | string or null |
| Body | string or null |
object (ReminderMailRecipients) |
{- "InvoiceId": 0,
- "Rank": 0,
- "Subject": "string",
- "Body": "string",
- "Recipients": {
- "To": [
- "string"
], - "Cc": [
- "string"
], - "Bcc": [
- "string"
]
}
}The reminder panel sets a single invoice aside: InvoiceIds then carries its only identifier.
Reason is AlreadyPaid or TooEarly, written by name. An unknown name is refused with 400 when the body is
read, without SetAsideReasonNotSupported.
Branch on the error Name, never on its message:
SetAsideInvoicesRequired (417): no invoice given;SetAsideInvoiceCancelled (417): one of the invoices is cancelled;SetAsideReasonNotSupported (417): the reason is not supported;Invoice_NOT_FOUND (400): one of the invoices does not exist in the folder;FolderSwitchedToEvoliz (403): the folder has switched to Evoliz.Any write may answer 409 Entity_OUTDATED.
| accountingFolderId required | integer <int32> Accounting Folder Identifier |
The invoices to set aside, and the reason
| InvoiceIds | Array of integers or null <int32> [ items <int32 > ] |
| Reason required | string Enum: "AlreadyPaid" "TooEarly" |
{- "InvoiceIds": [
- 0
], - "Reason": "AlreadyPaid"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
| ShowDeliveryAddress | boolean 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 > ] |
{- "Name": "string",
- "EndSubscription": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First"
}, - "FinalizationMode": "Draft",
- "MailConfiguration": {
- "ToEmails": [
- "string"
], - "CcEmails": [
- "string"
], - "BccEmails": [
- "string"
], - "Subject": "string",
- "Body": "string"
}, - "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true,
- "CustomerIds": [
- 0
], - "StartDate": "2019-08-24T14:15:22Z",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "DefaultAttachmentIds": [
- 0
], - "CustomAttachmentIds": [
- 0
]
}[- {
- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string"
}
]| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| subscriptionId required | integer <int32> Subscription Identifier |
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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
| ShowDeliveryAddress | boolean 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 |
{- "Name": "string",
- "EndSubscription": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First"
}, - "FinalizationMode": "Draft",
- "MailConfiguration": {
- "ToEmails": [
- "string"
], - "CcEmails": [
- "string"
], - "BccEmails": [
- "string"
], - "Subject": "string",
- "Body": "string"
}, - "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true,
- "RowVersion": "string",
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}{- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string"
}| accountingFolderId required | integer <int32> |
| file required | string <binary> |
{- "Id": 0,
- "FileName": "string",
- "FileSize": 0,
- "MimeType": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
| subscriptionId required | integer <int32> Subscription Identifier |
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 > ] |
{- "AccountingFolderId": 0,
- "SubscriptionId": 0,
- "DefaultAttachmentIds": [
- 0
], - "CustomAttachmentIds": [
- 0
]
}{- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string"
}| accountingFolderId required | integer <int32> |
| subscriptionId required | integer <int32> |
{- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string",
- "FinancialSummary": {
- "BilledAmount": 0,
- "RemainingAmount": 0,
- "BilledInvoiceCount": 0,
- "RemainingInvoiceCount": 0
}, - "Invoices": [
- {
- "Id": 0,
- "AccountingFolderId": 0,
- "DocumentNumber": "string",
- "Type": "Draft",
- "Status": "ToBeCollected",
- "BuyerName": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "TotalDocumentPriceExclTax": 0,
- "EmailSentDate": "2019-08-24T14:15:22Z",
- "ReminderSentDate": "2019-08-24T14:15:22Z",
- "IsScheduled": true,
- "IsDeletable": true,
- "ViDAStatus": "None",
- "ViDAState": "Pending",
- "ViDAStateReasonCode": "NON_TRANSMISE",
- "ViDAStatusDetails": "string",
- "ReminderSignalLevel": 0,
- "ReminderSignalSince": "2019-08-24T14:15:22Z",
- "LastReminderRank": 0,
- "LastReminderSentAt": "2019-08-24T14:15:22Z",
- "LastReminderOrigin": "ManualSend",
- "Order": 0,
- "IsDeleted": true
}
], - "DefaultAttachmentIds": [
- 0
], - "CustomAttachments": [
- {
- "Id": 0,
- "FileName": "string",
- "FileSize": 0,
- "MimeType": "string"
}
]
}| accountingFolderId required | integer <int32> |
| subscriptionId required | integer <int32> |
| 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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
| ShowDeliveryAddress | boolean or null |
| RowVersion required | string |
{- "Name": "string",
- "EndSubscription": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First"
}, - "FinalizationMode": "Draft",
- "MailConfiguration": {
- "ToEmails": [
- "string"
], - "CcEmails": [
- "string"
], - "BccEmails": [
- "string"
], - "Subject": "string",
- "Body": "string"
}, - "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true,
- "RowVersion": "string"
}{- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string"
}| accountingFolderId required | integer <int32> |
| 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" |
{- "PageNumber": 1,
- "PageSize": 10,
- "SearchText": "string",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "SortColumn": "Name",
- "SortDirection": "Ascending"
}{- "Items": [
- {
- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string"
}
], - "PageNumber": 1,
- "PageSize": 1,
- "TotalCount": 1,
- "PageCount": 0,
- "HasPreviousPage": false,
- "HasNextPage": false
}| accountingFolderId required | integer <int32> |
| 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 |
Array of objects or null (DocumentSectionModel) | |
| RecoveryIndemnityText | string or null |
| ShowDeliveryAddress | boolean or null |
| CustomerIds | Array of integers or null <int32> [ items <int32 > ] |
| StartDate required | string <date-time> |
{- "Name": "string",
- "EndSubscription": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First"
}, - "FinalizationMode": "Draft",
- "MailConfiguration": {
- "ToEmails": [
- "string"
], - "CcEmails": [
- "string"
], - "BccEmails": [
- "string"
], - "Subject": "string",
- "Body": "string"
}, - "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "BankAccountInfoId": 0,
- "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true,
- "CustomerIds": [
- 0
], - "StartDate": "2019-08-24T14:15:22Z"
}[- {
- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string"
}
]| accountingFolderId required | integer <int32> |
| subscriptionId required | integer <int32> |
"Active"{- "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": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First",
- "DisplayName": "string"
}, - "Template": {
- "ProductLines": [
- {
- "ItemName": "string",
- "ItemDescription": "string",
- "MeasureUnitId": 0,
- "VatRateId": 0,
- "Quantity": 0,
- "TotalPriceExclTax": 0,
- "TotalPriceInclTax": 0,
- "TotalVatAmount": 0,
- "NetUnitPriceExclTax": 0,
- "LineDiscounts": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "BasisAmount": 0,
- "ActualAmount": 0
}, - "PcgAccountNumberMapping": 0,
- "ProductId": 0,
- "SectionId": "string",
- "Order": 0
}
], - "Sections": [
- {
- "Id": "string",
- "Title": "string",
- "Description": "string",
- "Order": 0,
- "ParentSectionId": "string"
}
], - "SectionSubtotals": [
- {
- "SectionId": "string",
- "SubtotalExclTax": 0
}
], - "DocumentDiscount": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "DocumentCharge": {
- "ChargeValue": 0,
- "ChargeType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}, - "TotalLinePriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentInclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "BankAccount": {
- "Id": 0,
- "Name": "string",
- "Iban": "string",
- "Bic": "string",
- "BankName": "string",
- "IsDefault": true
}, - "PaymentTerms": "OnReceipt",
- "LatePenaltyText": "string",
- "FreeTextField": "string",
- "HasDiscountConditions": true,
- "DiscountConditionsFreeTextField": "string",
- "PublicTenderIdentifier": "string",
- "RecoveryIndemnityText": "string",
- "ShowDeliveryAddress": true
}, - "SubscriptionEmailConfig": {
- "Body": "string",
- "Subject": "string",
- "CcEmails": [
- "string"
], - "ToEmails": [
- "string"
], - "BccEmails": [
- "string"
]
}, - "ScheduledActions": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string",
- "RowVersion": "string"
}| accountingFolderId required | integer <int32> Accounting Folder Identifier |
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) |
{- "StartDate": "2019-08-24T14:15:22Z",
- "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First"
}, - "EndSubscription": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "SubscriptionId": 0,
- "PaymentTerms": "OnReceipt",
- "ProductLineItems": [
- {
- "ProductId": 0,
- "VatRateId": 0,
- "MeasureUnitId": 0,
- "UnitPriceExclTax": 0,
- "Quantity": 0,
- "Description": "string",
- "LineDiscountAmount": {
- "ReasonText": "string",
- "ReasonCode": "string",
- "DiscountValue": 0,
- "DiscountType": "Amount"
}, - "SectionId": "string",
- "Order": 0
}
], - "CreateDocumentDiscountCommand": {
- "DiscountValue": 0,
- "DiscountType": "Amount",
- "ReasonText": "string",
- "ReasonCode": "string"
}
}[- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
]| accountingFolderId required | integer <int32> |
| StartDate required | string <date-time> |
object (SubscriptionRecurrenceModel) | |
object (EndSubscriptionModel) | |
| SubscriptionId | integer or null <int32> |
{- "StartDate": "2019-08-24T14:15:22Z",
- "Recurrence": {
- "Type": "Daily",
- "RepeatCount": 0,
- "Days": [
- "Monday"
], - "MonthDayNumber": 0,
- "WeekDay": "Monday",
- "DayOfWeekNumber": "First"
}, - "EndSubscription": {
- "Type": "Date",
- "EndDate": "2019-08-24T14:15:22Z",
- "Occurrence": 0
}, - "SubscriptionId": 0
}[- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
]| accountingFolderId required | integer <int32> |
| 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" |
{- "PageNumber": 1,
- "PageSize": 10,
- "Statuses": [
- "ToCome"
], - "FinalizationModes": [
- "Draft"
], - "SortColumn": "Date",
- "SortDirection": "Ascending"
}{- "Items": [
- {
- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}
], - "PageNumber": 1,
- "PageSize": 1,
- "TotalCount": 1,
- "PageCount": 0,
- "HasPreviousPage": false,
- "HasNextPage": false
}| accountingFolderId required | integer <int32> |
| scheduledActionId required | integer <int32> |
"ToCome"{- "Id": 0,
- "Order": 0,
- "Date": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentInclTax": 0,
- "Status": "ToCome",
- "RowVersion": "string"
}| accountingFolderId required | integer <int32> |
| 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" |
{- "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"
}{- "Items": [
- {
- "Id": 0,
- "AccountId": 0,
- "AccountName": "string",
- "OperationDate": "2019-08-24T14:15:22Z",
- "Description": "string",
- "Label": "string",
- "Amount": 0
}
], - "PageNumber": 1,
- "PageSize": 1,
- "TotalCount": 1,
- "PageCount": 0,
- "HasPreviousPage": false,
- "HasNextPage": false
}