Invoice

Changes to generic fields

  • recipient.address.line1 is required.
  • recipient.address.city is required.
  • recipient.address.country is required.
  • recipient.address.postalCode is required.
  • organisation.address.state is required.

Jordan-specific fields

type Invoice {
  // ...everything from Generic invoice
  lines: InvoiceLine[];
  // ...everything from recipient
  recipient: {
    taxIdType: string;
    contact: {
      phone?: string;
    }
  },
  customInfo: {
    hun: {
      recipientVatStatus: string;
      dueDate: string;
      communityVatNumber: string;
    }
  }
}

type InvoiceLine {
  // ..other line item fields
  unit: Unit;
  itemCode: string;
  itemCategory: ItemCategory;
  vat: {;
    // ...other line item vat fields
    code: TaxCode;
    exemptReason?: string;
    exemptReasonCode?: string;
  };
}
NameTypeRequiredDescription
lines[].unitstringYesA value from an enumerated list as outlined on Units of Measure
lines[].itemCodestringYesProduct unique identifier (e.g., barcode)
lines[].itemCategorystringYesA value from an enumerated list as listed
VTSZ: Customs code VTSZ
SZJ: Service registry number SZJ
KN: KN code (Combined Nomenclature, 2658/87/EEC decree, Annex I)
AHK: e-TKO administrative reference code AHK as per the Excise Duty Act (Act LXVIII of 2016)
CSK: Packaging catalogue code (CsK code) as per the 343/2011 (XII. 29) Gov. decree, Annex No. 1 section A)
KT: Environmental product code (Kt code) as per the 343/2011 (XII. 29) Gov. decree, Annex No. 1 section B)
EJ: Building registry number
TESZOR: Classification system for products and services
OWN: Product code generated by the enterprise
OTHER: Other
lines[].vat.codestringYesA value from an enumerated list as outlined on VAT code classification
lines[].vat.exemptReasonstringConditionalIf the line VAT amount is 0, an exemption reason is required.
lines[].vat.exemptReasonCodestringConditionalIf the line VAT amount is 0, a value is required.
recipient.contact.emailstringNoRecipient email address
recipient.taxIdstringYes00000000-1-00 ???
customInfo.hun.recipientVatStatusstringYes Here are the possible values:
DOMESTIC
OTHER
PRIVATE_PERSON
customInfo.hun.communityVatNumberstringConditionalRequired when customInfo.hun.recipientVatStatus= OTHER
customInfo.hun.dueDatestring (ISO 8601 date)YesDue date of invoice