Skip to main content

Invoice

Description

Invoice document is a formal statement sent to a customer detailing the products or services provided, along with associated costs, payment terms, and any applicable taxes or discounts.

Schema Information

{
"type": "object",
"title": "Invoice",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"buyer": {
"$ref": "#/definitions/entity"
},
"notes": {
"type": "string"
},
"seller": {
"$ref": "#/definitions/entity"
},
"dueDate": {
"type": "string",
"format": "date"
},
"taxRate": {
"type": "number"
},
"currency": {
"type": "string"
},
"language": {
"type": "string"
},
"deliveree": {
"$ref": "#/definitions/entity"
},
"taxAmount": {
"type": "number"
},
"invoiceDate": {
"type": "string",
"format": "date"
},
"paymentInfo": {
"type": "object",
"properties": {
"iban": {
"type": "string"
},
"bankName": {
"type": "string"
},
"swiftBic": {
"type": "string"
},
"accountNumber": {
"type": "string"
},
"referenceNumber": {
"type": "string"
}
}
},
"deliveryDate": {
"type": "string",
"format": "date"
},
"documentType": {
"type": "string"
},
"paymentTerms": {
"type": "string"
},
"vatBreakDown": {
"type": "array",
"items": {
"type": "object",
"properties": {
"vatAmount": {
"type": "number"
},
"totalWithVat": {
"type": "number"
},
"vatPercentage": {
"type": "number"
},
"totalWithoutVat": {
"type": "number"
}
}
}
},
"invoiceNumber": {
"type": "string"
},
"totalWithoutVAT": {
"type": "number"
},
"totalAmountWithVAT": {
"type": "number"
},
"purchaseOrderNumber": {
"type": "string"
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string"
},
"price": {
"type": "number"
},
"rowNo": {
"type": "string"
},
"quantity": {
"type": "number"
},
"productCode": {
"type": "string"
},
"productName": {
"type": "string"
}
}
}
}
},
"definitions": {
"entity": {
"type": "object",
"properties": {
"ID": {
"type": "string"
},
"name": {
"type": "string"
},
"address": {
"$ref": "#/definitions/address"
},
"contact": {
"$ref": "#/definitions/contactInfo"
},
"VATNumber": {
"type": "string"
}
}
},
"address": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"streetAddress": {
"type": "string"
}
}
},
"contactInfo": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email"
},
"phone": {
"type": "string"
}
}
}
}
}