Portugal Credit Notes
Changes to standard fields
invoiceRefs
is optional
Portugal specific fields
type CreditNote {
// ... all generic credit note fields
lines: InvoiceLine[];
invoiceRefs: string[],
customInfo: {
prt: {
goodsServiceAvailableDate?: string;
note? string;
paymentMeansCode: PaymentMeansCode;
paymentMeansDueDate:
reason: string;
}
}
}
type InvoiceLine {
description: string;
unit: Unit;
quantity?: number;
vat: {
type: 'fixed' | 'percent';
code: TaxCode;
amount: number;
};
price: {
amount: number;
};
}
Name | Type | Required | Description |
---|---|---|---|
invoiceRefs | string array | Yes | Invoices associated with this document. Only one invoice reference is allowed. |
lines[].description | string | Yes | Description of the goods or service |
lines[].unit | string | Yes | A value from an enumerated list as outlined on Units of Measure |
lines[].quantity | number | No | Quantity of the good or service |
lines[].vat.type | string | Yes | A value from an enumerated list of types: "fixed" "percent" |
lines[].vat.code | string | Yes | A value from an enumerated list of types: "Reverse charge": Vat Reverse Charge "Exempt": Exempt from Tax "Standard": Standard rate "Zero rated": Zero-rated goods "Free export": Free export item, VAT not charged "Outside of scope": Services outside scope of tax |
lines[].vat.amount | number | Yes | VAT percent or value per item |
lines[].price.amount | number | Yes | Unit price of the good or service |
invoiceRefs | string | Yes | An array of existing invoices |
customInfo.prt.goodsServiceAvailableDate | string (ISO 8601 date) | No | The date that the goods or services are available. |
customInfo.prt.note | string | No | Document note |
customInfo.prt.paymentMeansCode | string | Yes | A value from an enumerated list as outlined on Payments Means |
customInfo.prt.paymentMeansDueDate | string (ISO 8601 date) | yes | Due date of invoice |
customInfo.prt.reason | string | yes | Reason for credit. |
Example CSV file
Updated 19 days ago