Skip to main content

Credit Note

Description

A credit note is a legal document sent by a seller to a buyer, or from one business to another, indicating a credit to the recipient's account. It outlines adjustments to invoices previously issued, serving as proof of the reduction in sales or the return of goods. Credit notes detail the amount credited, the reason for the credit, and reference the original invoice.

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"
},
"reasonForCredit": {
"type": "string"
},
"creditNoteNumber": {
"type": "string"
},
"totalCreditedAmount": {
"type": "number"
},
"originalInvoiceNumber": {
"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"
}
}
}
}
}