The source of the order the invoice is referencing, 'WEB' is reserved for orders coming through Norce shopping and checkout processes.
The currency rate, used for converting the invoice amount to the base currency.
Indicates whether this is the last invoice for the order, and if the payment capture logic can close the transaction at the PSP.
Indicates whether the invoice is debit, false when the invoice is credit and should trigger a payment credit integration.
The aggregated invoice code, grouping multiple invoices together.
{ "id": 0, "clientId": 0, "invoiceNo": "string", "typeId": 0, "referenceOrderId": 0, "referenceNoPsp": "string", "buyerCompanyId": 0, "buyerCustomerId": 0, "payerCompanyId": 0, "payerCustomerId": 0, "resellerCompanyId": 0, "resellerCustomerId": 0, "groupCode": "string", "deliveryDate": "2019-08-24T14:15:22Z", "invoiceDate": "2019-08-24T14:15:22Z", "invoiceDueDate": "2019-08-24T14:15:22Z", "salesRepContactId": 0, "source": "string", "quantity": 0, "volume": 0, "weight": 0, "currencyId": 0, "currencyRate": 0, "cashDiscount": 0, "cashDiscountDate": "2019-08-24T14:15:22Z", "sumLineDiscount": 0, "freightCost": 0, "invoiceFee": 0, "costValue": 0, "salesBalance": 0, "invoiceAmount": 0, "invoiceRoundOff": 0, "vatDutiable1": 0, "vatDutiable2": 0, "vatDutiable3": 0, "vat1": 0, "vat2": 0, "vat3": 0, "vatRoundOff": 0, "vat": 0, "invoiceName": "string", "invoiceAttention": "string", "invoiceCareOf": "string", "invoiceAddressLine1": "string", "invoiceAddressLine2": "string", "invoiceZipCode": "string", "invoiceCity": "string", "invoiceRegion": "string", "invoiceCountryId": 0, "ledgerVoucher": "string", "department": "string", "centre": "string", "noteText": "string", "lastInvoiceForOrder": true, "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "invoiceAddressId": 0, "paymentMethodId": 0, "deliveryMethodId": 0, "isDebit": true, "creditedInvoiceId": 0, "comment": "string", "isForgotten": true, "forgottenBy": 0, "forgottenDate": "2019-08-24T14:15:22Z", "aggregatedInvoiceCode": "string", "paymentMethodCode": "string", "paymentMethodName": "string", "invoiceGln": "string", "creditedInvoice": {}, "inverseCreditedInvoice": [ {} ], "address": { "id": 0, "typeId": 0, "name": "string", "attention": "string", "careOf": "string", "line1": "string", "line2": "string", "zipCode": "string", "city": "string", "region": "string", "countryId": 0, "emailAddress": "string", "phoneNumber": "string", "created": "2019-08-24T14:15:22Z", "createdBy": 0, "rowid": "string", "clientId": 0, "shippingPhoneNumber": "string", "gln": "string", "deliveryNote": [ … ], "invoice": [ … ] }, "items": [ { … } ], "referenceOrder": { "buyerCustomer": { … }, "id": 0, "clientId": 0, "applicationId": 0, "quotationId": 0, "orderNo": "string", "orderDate": "2019-08-24T14:15:22Z", "buyerCompanyCode": "string", "buyerCompanyId": 0, "buyerCustomerCode": "string", "buyerCustomerId": 0, "payerCompanyCode": "string", "payerCompanyId": 0, "payerCustomerCode": "string", "payerCustomerId": 0, "resellerCompanyCode": "string", "resellerCompanyId": 0, "resellerCustomerCode": "string", "resellerCustomerId": 0, "groupCode": "string", "statusId": 0, "salesRepContactId": 0, "source": "string", "deliveryTerms": "string", "deliveryMode": "string", "deliveryDate": "2019-08-24T14:15:22Z", "isPartDelivery": true, "paymentTerms": "string", "currencyId": 0, "vatRate": 0, "cashDiscount": 0, "lineDiscount": 0, "freightCost": 0, "orderFee": 0, "deliveryAttention": "string", "deliveryCareOf": "string", "deliveryAddressLine1": "string", "deliveryAddressLine2": "string", "deliveryZipCode": "string", "deliveryCity": "string", "deliveryRegion": "string", "deliveryCountryId": 0, "ledgerAccount": "string", "department": "string", "centre": "string", "externalPurchaseNo": "string", "salesCode": "string", "deliveryMark": "string", "invoiceMark": "string", "created": "2019-08-24T14:15:22Z", "createdBy": 0, "updated": "2019-08-24T14:15:22Z", "updatedBy": 0, "payerCustomerInfoId": 0, "estimatedDeliveryTime": "2019-08-24T14:15:22Z", "deliveryTime": "2019-08-24T14:15:22Z", "buyerCustomerInfoId": 0, "shipToCustomerInfoId": 0, "externalRef": "string", "paymentMethodId": 0, "deliveryMethodId": 0, "orderTypeId": 0, "isForgotten": true, "forgottenBy": 0, "forgottenDate": "2019-08-24T14:15:22Z", "dropPointCustomerInfoId": 0, "dropPointCode": "string", "year": 0, "week": 0, "tmsReference": "string", "buyer": { … }, "deliveryNote": [ … ], "dropPoint": { … }, "invoice": [ … ], "infos": [ … ], "items": [ … ], "payer": { … }, "quotation": { … }, "shipTo": { … } } }