Portugal
Credit note
Changes to generic fields
invoiceRefsis optional
type CreditNote {
// ...all generic credit note fields
lines: InvoiceLine[];
invoiceRefs: string[],
customInfo: {
prt: {
goodsServiceAvailableDate?: string;
note? string;
paymentMeansCode: PaymentMeansCode;
paymentMeansDueDate:
reason: string;
}
}
}
type InvoiceLine {
itemCode: string;
description: string;
unit: UnitsOfMeasure;
quantity?: number;
vat: {
type: 'fixed' | 'percent';
code: TaxCode;
amount: number;
exemptReason?: string;
exemptReasonCode?: PortugalExemptionReasonCodes;
};
price: {
amount: number;
};
}Field information
Name | Type | Required | Description |
|---|---|---|---|
| string array | Yes | Invoices associated with this document. Only one invoice reference is allowed. |
| string | Yes | An identifier for the item. |
| string | Yes | Description of the goods or service |
| string | Yes | A value from an enumerated list as outlined on Units of Measure |
| number | No | Quantity of the good or service |
| string | Yes | A value from an enumerated list of types: |
| string | Yes | A value from an enumerated list of types:
|
| string | Conditional | If the line VAT amount is 0, an exemption reason is required. |
| string | Conditional | If the line VAT amount is 0, a value from an enumerated list outlined on Portugal exemption reason codes is required. |
| number | Yes | VAT percent or value per item |
| number | Yes | Unit price of the good or service |
| string | Yes | An array of existing invoices |
| string (ISO 8601 date) | No | The date that the goods or services are available. |
| string | No | Document note |
| string | Yes | A value from an enumerated list as outlined on Payments Means |
| string (ISO 8601 date) | yes | Due date of invoice |
| string | yes | Reason for credit. |
Example CSV file
Updated 23 days ago