Models

Self Billing Credit Note

Self billing credit note

Properties

NameTypeRequiredDescription
creditNoteNumberstringYesExample: "CN-2024-001"
issueDatestring (date)YesExample: "2024-03-20". Format: date
notestring | nullNoExample: "Thank you for your business"
buyerReferencestring | nullNoExample: "PO-2024-001"
invoiceReferencesobject[]YesReferences to one or more invoices that are being credited. Default: ``
purchaseOrderReferencestring | nullNoA reference to a related purchase order. Example: "PO-2024-001"
salesOrderReferencestring | nullNoA reference to a related sales order. Example: "SO-2024-001"
despatchReferencestring | nullNoA reference to a related despatch advice document (e.g. packing slip). Example: "DE-2024-001"
sellerobjectYes
buyerobjectYes
deliveryDeliverynullNo
paymentMeansobject[] | nullNo
paymentTermsobject | nullNo
linesobject[]YesMin items: 1
discountsobject[] | nullNoOptional global discounts
surchargesobject[] | nullNoOptional global surcharges
totalsTotalsnullNo
vatProvided VAT totalsnullNo
attachmentsobject[] | nullNoOptional attachments to the credit note
currencystring (enum)YesThe currency of the credit note. Defaults to EUR. Default: EUR. Example: "EUR". Values: XUA, AFN, DZD, ARS, AMD, AWG, AUD, AZN, BSD, BHD, THB, PAB, BBD, BYN, BZD, BMD, VES, VED, BOB, XBA, XBB, XBD, XBC, BRL, BND, BGN, BIF, CVE, CAD, KYD, XOF, XAF, XPF, CLP, XTS, COP, KMF, CDF, BAM, NIO, CRC, CUP, CZK, GMD, DKK, MKD, DJF, STN, DOP, VND, XCD, EGP, SVC, ETB, EUR, FKP, FJD, HUF, GHS, GIP, XAU, HTG, PYG, GNF, GYD, HKD, UAH, ISK, INR, IRR, IQD, JMD, JOD, KES, PGK, KWD, AOA, MMK, LAK, GEL, LBP, ALL, HNL, LRD, LYD, SZL, LSL, MGA, MWK, MYR, MUR, MXN, MXV, MDL, MAD, MZN, BOV, NGN, ERN, NAD, NPR, ANG, ILS, TWD, NZD, BTN, KPW, NOK, MRU, TOP, PKR, XPD, MOP, UYU, PHP, XPT, GBP, BWP, QAR, GTQ, ZAR, OMR, KHR, RON, MVR, IDR, RUB, RWF, SHP, SAR, XDR, RSD, SCR, SLE, XAG, SGD, PEN, SBD, KGS, SOS, TJS, SSP, LKR, XSU, SDG, SRD, SEK, CHF, SYP, BDT, WST, TZS, KZT, XXX, TTD, MNT, TND, TRY, TMT, AED, UGX, CLF, COU, UYW, UYI, USD, USN, UZS, VUV, CHE, CHW, KRW, YER, JPY, CNY, ZMW, ZWG, PLN

invoiceReferences properties

NameTypeRequiredDescription
idstringYesThe reference to the invoice that is being credited. Example: "INV-2024-001"
issueDatestring | nullNoThe issue date of the invoice that is being credited. Example: "2024-03-20". Format: date

seller properties

NameTypeRequiredDescription
vatNumberstring | nullNoExample: "BE1234567894"
enterpriseNumberSchemestring (enum)NoThe scheme that corresponds to the enterprise number. Can be found here. Example: "0208". Values: 0002, 0003, 0004, 0005, 0006, 0007, 0008, 0009, 0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0019, 0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027, 0028, 0029, 0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037, 0038, 0039, 0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047, 0048, 0049, 0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057, 0058, 0059, 0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067, 0068, 0069, 0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077, 0078, 0079, 0080, 0081, 0082, 0083, 0084, 0085, 0086, 0087, 0088, 0089, 0090, 0091, 0093, 0094, 0095, 0096, 0097, 0098, 0099, 0100, 0101, 0102, 0104, 0105, 0106, 0107, 0108, 0109, 0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117, 0118, 0119, 0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127, 0128, 0129, 0130, 0131, 0132, 0133, 0134, 0135, 0136, 0137, 0138, 0139, 0140, 0141, 0142, 0143, 0144, 0145, 0146, 0147, 0148, 0149, 0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157, 0158, 0159, 0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167, 0168, 0169, 0170, 0171, 0172, 0173, 0174, 0175, 0176, 0177, 0178, 0179, 0180, 0183, 0184, 0185, 0186, 0187, 0188, 0189, 0190, 0191, 0192, 0193, 0194, 0195, 0196, 0197, 0198, 0199, 0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207, 0208, 0209, 0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217, 0218, 0219, 0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227, 0228, 0229, 0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237, 0238, 0239, 0240, null
enterpriseNumberstring | nullNoExample: "1234567894"
namestringYesExample: "Example Company"
streetstringYesExample: "Example Street 1"
street2string | nullNoExample: "Suite 100"
citystringYesExample: "Brussels"
postalZonestringYesExample: "1000"
countrystringYesExample: "BE"
emailstring | nullNoThe email address of the party. If not provided, the email address will not be included in the document. Example: "email@example.com"
phonestring | nullNoThe phone number of the party. Must contain at least 3 digits. If not provided, the phone number will not be included in the document. Example: "887 654 321"

buyer properties

NameTypeRequiredDescription
vatNumberstring | nullNoExample: "BE1234567894"
enterpriseNumberSchemestring (enum)NoThe scheme that corresponds to the enterprise number. Can be found here. Example: "0208". Values: 0002, 0003, 0004, 0005, 0006, 0007, 0008, 0009, 0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0019, 0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027, 0028, 0029, 0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037, 0038, 0039, 0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047, 0048, 0049, 0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057, 0058, 0059, 0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067, 0068, 0069, 0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077, 0078, 0079, 0080, 0081, 0082, 0083, 0084, 0085, 0086, 0087, 0088, 0089, 0090, 0091, 0093, 0094, 0095, 0096, 0097, 0098, 0099, 0100, 0101, 0102, 0104, 0105, 0106, 0107, 0108, 0109, 0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117, 0118, 0119, 0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127, 0128, 0129, 0130, 0131, 0132, 0133, 0134, 0135, 0136, 0137, 0138, 0139, 0140, 0141, 0142, 0143, 0144, 0145, 0146, 0147, 0148, 0149, 0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157, 0158, 0159, 0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167, 0168, 0169, 0170, 0171, 0172, 0173, 0174, 0175, 0176, 0177, 0178, 0179, 0180, 0183, 0184, 0185, 0186, 0187, 0188, 0189, 0190, 0191, 0192, 0193, 0194, 0195, 0196, 0197, 0198, 0199, 0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207, 0208, 0209, 0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217, 0218, 0219, 0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227, 0228, 0229, 0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237, 0238, 0239, 0240, null
enterpriseNumberstring | nullNoExample: "1234567894"
namestringYesExample: "Example Company"
streetstringYesExample: "Example Street 1"
street2string | nullNoExample: "Suite 100"
citystringYesExample: "Brussels"
postalZonestringYesExample: "1000"
countrystringYesExample: "BE"
emailstring | nullNoThe email address of the party. If not provided, the email address will not be included in the document. Example: "email@example.com"
phonestring | nullNoThe phone number of the party. Must contain at least 3 digits. If not provided, the phone number will not be included in the document. Example: "887 654 321"

delivery (One of)

Delivery:

NameTypeRequiredDescription
datestring | nullNoThe date of the delivery. Example: "2025-03-20". Format: date
locationIdentifierobject | nullNoThe identifier of the delivery location. Schemes can be found here. Example: {"scheme":"0088","identifier":"123456789"}
locationobjectNo
recipientNamestringNoThe name of the party to which the goods and services are delivered. Example: "Company Ltd."

delivery.locationIdentifier properties

NameTypeRequiredDescription
schemestringYesExample: "0088"
identifierstringYesExample: "123456789"

delivery.location properties

NameTypeRequiredDescription
streetstring | nullNoExample: "Example Street 1"
street2string | nullNoExample: "Suite 100"
citystring | nullNoExample: "Brussels"
postalZonestring | nullNoExample: "1000"
countrystringYesExample: "BE"

paymentMeans properties

NameTypeRequiredDescription
namestring | nullNoThe name of the payment means. Example: "Credit Transfer"
paymentMethodcash | credit_transfer | debit_transfer | bank_card | credit_card | debit_card | sepa_credit_transfer | sepa_direct_debit | otherNoDefault: credit_transfer. Example: "credit_transfer". Values: cash, credit_transfer, debit_transfer, bank_card, credit_card, debit_card, sepa_credit_transfer, sepa_direct_debit, other
referencestringNoDefault: ``. Example: "INV-2026-001"
ibanstringYesExample: "BE1234567890"
financialInstitutionBranchstring | nullNoAn identifier for the payment service provider where a payment account is located. Such as a BIC or a national clearing code where required

paymentTerms properties

NameTypeRequiredDescription
notestringYesExample: "Net 30"

lines properties

NameTypeRequiredDescription
idstring | nullNoA line number. If not provided, it will be calculated automatically. Example: "1"
namestringNoDefault: ``. Example: "Consulting Services"
descriptionstring | nullNoExample: "Professional consulting services"
notestring | nullNoA textual note that gives unstructured information that is relevant to this line
buyersIdstring | nullNoThe item identifier of the item as defined by the buyer. Example: "CS-001"
sellersIdstring | nullNoThe item identifier of the item as defined by the seller. This is typically a product code or SKU. Example: "CS-001"
standardIdobject | nullNoThe standard identifier of the item based on a registered scheme. Schemes can be found here
documentReferencestring | nullNoA reference to a related document, mostly used to refer to a related invoice. Example: "INV-2024-001"
orderLineReferencestring | nullNoA reference to a related order line
commodityClassificationsobject[] | nullNoOptional commodity classifications
additionalItemPropertiesobject[] | nullNoOptional additional item properties
originCountrystring | nullNoThe country of origin of the item. Example: "BE"
quantitystringNoDecimal number as a string with flexible precision. Default: 1.00. Example: "21.00"
unitCodestringNoRecommended unit codes can be found here. Default: C62. Example: "HUR"
netPriceAmountstringYesDecimal number as a string with flexible precision. Example: "21.00"
baseQuantitystring | nullNoThe number of units to which the price refers. When greater than 1, the price is for a batch/pack of this size. The actual unit price is netPriceAmount / baseQuantity. Example: "1"
discountsobject[] | nullNoOptional discounts for the line
surchargesobject[] | nullNoOptional surcharges for the line
netAmountstring | nullNoThe total net amount of the line: quantity * netPriceAmount. Rounded to 2 decimal places. If not provided, it will be calculated automatically. Example: "21.00"
vatobjectYes

lines.standardId properties

NameTypeRequiredDescription
schemestringYesExample: "0160"
identifierstringYesExample: "10986700"

lines.commodityClassifications properties

NameTypeRequiredDescription
schemestring (enum)YesThe scheme of the item classification code. Can be found here. Example: "SN". Values: AA, AB, AC, AD, AE, AF, AG, AH, AI, AJ, AK, AL, AM, AN, AO, AP, AQ, AR, AS, AT, AU, AV, AW, AX, AY, AZ, BA, BB, BC, BD, BE, BF, BG, BH, BI, BJ, BK, BL, BM, BN, BO, BP, BQ, BR, BS, BT, BU, BV, BW, BX, BY, BZ, CC, CG, CL, CR, CV, DR, DW, EC, EF, EMD, EN, FS, GB, GMN, GN, GS, HS, IB, IN, IS, IT, IZ, MA, MF, MN, MP, NB, ON, PD, PL, PO, PV, QS, RC, RN, RU, RY, SA, SG, SK, SN, SRS, SRT, SRU, SRV, SRW, SRX, SRY, SRZ, SS, SSA, SSB, SSC, SSD, SSE, SSF, SSG, SSH, SSI, SSJ, SSK, SSL, SSM, SSN, SSO, SSP, SSQ, SSR, SSS, SST, SSU, SSV, SSW, SSX, SSY, SSZ, ST, STA, STB, STC, STD, STE, STF, STG, STH, STI, STJ, STK, STL, STM, STN, STO, STP, STQ, STR, STS, STT, STU, STV, STW, STX, STY, STZ, SUA, SUB, SUC, SUD, SUE, SUF, SUG, SUH, SUI, SUJ, SUK, SUL, SUM, TG, TSN, TSO, TSP, TSQ, TSR, TSS, TST, TSU, UA, UP, VN, VP, VS, VX, ZZZ, PPI
schemeVersionstring | nullNo
valuestringYesThe value of the item classification code. Example: "123456"

lines.additionalItemProperties properties

NameTypeRequiredDescription
namestringYesExample: "Color"
valuestringYesExample: "Red"

lines.discounts properties

NameTypeRequiredDescription
reasonCodestring | nullNoThe reason code for the discount. This must be one of the codes in the UNCL5189 subset code list. For example, 95 for regular discounts. Either reason or reasonCode must be provided. Example: "95"
reasonstring | nullNoThe reason for the discount. This is a free text field. Either reason or reasonCode must be provided. Example: "Discount"
amountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"

lines.surcharges properties

NameTypeRequiredDescription
reasonCodestring | nullNoThe reason code for the surcharge. This must be one of the codes in the UNCL7161 subset code list. For example, FC for freight services. Either reason or reasonCode must be provided. Example: "FC"
reasonstring | nullNoThe reason for the surcharge. This is a free text field. Either reason or reasonCode must be provided. Example: "Freight services"
amountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"

lines.vat properties

NameTypeRequiredDescription
categoryAE | E | S | Z | G | O | K | L | M | BNoVAT category code. All codes can be found here. When sending regular invoices, you should most often use the S category. When sending an invoice to another EU country, use the AE category for VAT Reverse Charge. In those cases, it is still recommended to include a note in the invoice explaining that the VAT Reverse Charge applies. Default: S. Example: "S". Values: AE, E, S, Z, G, O, K, L, M, B
percentagestringYesDecimal number as a string with 2 decimal places. Example: "21.00"

discounts properties

NameTypeRequiredDescription
reasonCodestring | nullNoThe reason code for the discount. This must be one of the codes in the UNCL5189 subset code list. For example, 95 for regular discounts. Either reason or reasonCode must be provided. Example: "95"
reasonstring | nullNoThe reason for the discount. This is a free text field. Either reason or reasonCode must be provided. Example: "Discount"
amountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"
vatobjectYes

discounts.vat properties

NameTypeRequiredDescription
categoryAE | E | S | Z | G | O | K | L | M | BNoVAT category code. All codes can be found here. When sending regular invoices, you should most often use the S category. When sending an invoice to another EU country, use the AE category for VAT Reverse Charge. In those cases, it is still recommended to include a note in the invoice explaining that the VAT Reverse Charge applies. Default: S. Example: "S". Values: AE, E, S, Z, G, O, K, L, M, B
percentagestringYesDecimal number as a string with 2 decimal places. Example: "21.00"

surcharges properties

NameTypeRequiredDescription
reasonCodestring | nullNoThe reason code for the surcharge. This must be one of the codes in the UNCL7161 subset code list. For example, FC for freight services. Either reason or reasonCode must be provided. Example: "FC"
reasonstring | nullNoThe reason for the surcharge. This is a free text field. Either reason or reasonCode must be provided. Example: "Freight services"
amountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"
vatobjectYes

surcharges.vat properties

NameTypeRequiredDescription
categoryAE | E | S | Z | G | O | K | L | M | BNoVAT category code. All codes can be found here. When sending regular invoices, you should most often use the S category. When sending an invoice to another EU country, use the AE category for VAT Reverse Charge. In those cases, it is still recommended to include a note in the invoice explaining that the VAT Reverse Charge applies. Default: S. Example: "S". Values: AE, E, S, Z, G, O, K, L, M, B
percentagestringYesDecimal number as a string with 2 decimal places. Example: "21.00"

totals (One of)

Totals:

If not provided, the totals will be calculated from the document lines.

NameTypeRequiredDescription
linesAmountstring | nullNoThe tax exclusive total amount of all lines. Rounded to 2 decimal places. Example: "21.00"
discountAmountstring | nullNoThe tax exclusive total amount of all discounts. If not provided, this will be calculated automatically. Example: "21.00"
surchargeAmountstring | nullNoThe tax exclusive total amount of all surcharges. If not provided, this will be calculated automatically. Example: "21.00"
taxExclusiveAmountstringYesThe tax exclusive total amount of all lines, discounts and surcharges. Rounded to 2 decimal places. Example: "21.00"
taxInclusiveAmountstringYesThe tax inclusive total amount of all lines, discounts and surcharges. Rounded to 2 decimal places. Example: "21.00"
payableAmountstring | nullNoThe amount to be paid. If not provided, this will be taxInclusiveAmount. Can be used in combination with paidAmount to indicate partial payment or payment rounding. Rounded to 2 decimal places. Example: "21.00"
paidAmountstring | nullNoThe amount paid. If not provided, this will be taxInclusiveAmount - payableAmount. Can be used in combination with payableAmount to indicate partial payment or payment rounding. Rounded to 2 decimal places. Example: "21.00"

vat (One of)

Provided VAT totals:

NameTypeRequiredDescription
totalVatAmountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"
subtotalsobject[]Yes

vat.subtotals properties

NameTypeRequiredDescription
taxableAmountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"
vatAmountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"
categoryAE | E | S | Z | G | O | K | L | M | BYesVAT category code. All codes can be found here. When sending regular invoices, you should most often use the S category. When sending an invoice to another EU country, use the AE category for VAT Reverse Charge. In those cases, it is still recommended to include a note in the invoice explaining that the VAT Reverse Charge applies. Example: "S". Values: AE, E, S, Z, G, O, K, L, M, B
percentagestringYesDecimal number as a string with 2 decimal places. Example: "21.00"
exemptionReasonCodestring | nullNoIf the invoice is exempt from VAT, this (or exemptionReason) is required. The exemption reason code identifier must belong to the CEF VATEX code list found here
exemptionReasonstring | nullNoIf the invoice is exempt from VAT, this (or exemptionReasonCode) is required. The exemption reason must be a textual statement of the reason why the amount is exempt from VAT or why no VAT is charged

attachments properties

NameTypeRequiredDescription
idstringYesExample: "ATT-001"
mimeCodestringNoMIME type of the document (e.g. application/pdf, text/csv, image/png). Default: application/pdf. Example: "application/pdf"
filenamestringYesExample: "contract.pdf"
descriptionstring | nullNoExample: "Signed contract"
embeddedDocumentstring | nullNobase64 encoded document
urlstring | nullNoExample: "https://example.com/contract.pdf"

Used by