Invoices
Workist XML
Supported document type: Invoices
File extension: .xml
The Workist XML format for invoices includes general header information, recipient and sender details, payment information, a financial summary and line items.
Full Example
<?xml version="1.0" encoding="UTF-8"?>
<invoice>
<invoice_number>INV-2025-0042</invoice_number>
<order_number>PO-2025-0001</order_number>
<contract_number>CON-2025-100</contract_number>
<delivery_note_number>DN-2025-300</delivery_note_number>
<invoice_date>2025-03-20</invoice_date>
<invoice_due_date>2025-04-19</invoice_due_date>
<delivery_date>2025-03-15</delivery_date>
<document_type>invoice</document_type>
<recipient_address>
<Code>RCPT-001</Code>
<name>Acme Corporation</name>
<street_and_nr>Hauptstrasse 42</street_and_nr>
<misc>Building A</misc>
<company_name>Acme Corp GmbH</company_name>
<postcode>80331</postcode>
<city>Munich</city>
<country>DE</country>
<country_subdivision>BY</country_subdivision>
<email>invoices@acme.de</email>
<phone>+49 89 12345678</phone>
</recipient_address>
<sender_supplier>
<address>
<name>Supplier Contact Name</name>
<street_and_nr>Lieferantenweg 10</street_and_nr>
<company_name>Best Supplier GmbH</company_name>
<postcode>20095</postcode>
<city>Hamburg</city>
<country>DE</country>
<email>info@bestsupplier.de</email>
<phone>+49 40 99999999</phone>
</address>
<name>Best Supplier GmbH</name>
<customer_number>SUP-500</customer_number>
<customer_type>preferred</customer_type>
<contact_person>Hans Mueller</contact_person>
<vat_id>DE987654321</vat_id>
</sender_supplier>
<sender_vat_id>DE987654321</sender_vat_id>
<sender_tax_number>143/123/45678</sender_tax_number>
<sender_contact>
<contact_id>SC-001</contact_id>
<name>Hans Mueller</name>
<email>hans@bestsupplier.de</email>
<phone>+49 40 88888888</phone>
</sender_contact>
<Info_Text>Payment due within 30 days.</Info_Text>
<payment>
<payment_bank>Deutsche Bank AG</payment_bank>
<payment_bic>DEUTDEFF</payment_bic>
<payment_iban>DE89370400440532013000</payment_iban>
<payment_method>bank_transfer</payment_method>
<payment_reference>INV-2025-0042</payment_reference>
<payment_swift>DEUTDEFF</payment_swift>
<payment_terms_discount>2% within 10 days</payment_terms_discount>
<payment_terms_due_days>30</payment_terms_due_days>
<payment_terms_type>net</payment_terms_type>
<payment_terms>Net 30 days</payment_terms>
</payment>
<summary>
<currency>EUR</currency>
<net_amount>1250.00</net_amount>
<tax_rate>19</tax_rate>
<tax_amount>237.50</tax_amount>
<total_amount>1487.50</total_amount>
<total_due>1487.50</total_due>
</summary>
<line_items>
<line_item>
<pos>10</pos>
<article_id1>ART-001-A</article_id1>
<article_id2>GTIN-12345</article_id2>
<article_id3>EAN-67890</article_id3>
<article_partition_specific_number>CUST-ART-555</article_partition_specific_number>
<article_description>Industrial Sensor Module Type A</article_description>
<quantity>100</quantity>
<unit>PCE</unit>
<unit_price>12.50</unit_price>
<total_price>1250.00</total_price>
<gross_price>14.88</gross_price>
<price_unit>1</price_unit>
<tax_rate>19</tax_rate>
<tax_amount>237.50</tax_amount>
</line_item>
</line_items>
</invoice>
Header Fields
| XML Element | Type | Description |
|---|---|---|
invoice_number | Text | Invoice number |
order_number | Text | Associated purchase order number |
contract_number | Text | Contract reference |
delivery_note_number | Text | Associated delivery note number |
invoice_date | Date | Invoice date |
invoice_due_date | Date | Due date |
delivery_date | Date | Delivery date |
document_type | Text | Document type (e.g. invoice, credit_note) |
recipient_address | Block | Invoice recipient address |
sender_supplier | Block | Supplier information with nested address |
sender_vat_id | Text | Supplier's VAT identification number |
sender_tax_number | Text | Supplier's tax number |
sender_contact | Block | Supplier's contact person (ID, name, email, phone) |
Info_Text | Text | Free-text notes (up to 5 blocks of 70 characters each) |
Payment Fields
| XML Element | Type | Description |
|---|---|---|
payment_bank | Text | Bank name |
payment_bic | Text | BIC code |
payment_iban | Text | IBAN |
payment_method | Text | Payment method (e.g. bank_transfer) |
payment_reference | Text | Payment reference number |
payment_swift | Text | SWIFT code |
payment_terms_discount | Text | Early payment discount terms |
payment_terms_due_days | Text | Number of days until due |
payment_terms_type | Text | Type of payment terms |
payment_terms | Text | Full payment terms |
Summary Fields
| XML Element | Type | Description |
|---|---|---|
currency | Text | Currency code (e.g. EUR, USD) |
net_amount | Decimal | Net amount before taxes |
tax_rate | Decimal | Tax rate in percent |
tax_amount | Decimal | Tax amount |
total_amount | Decimal | Gross total amount |
total_due | Decimal | Total amount due |
Line Item Fields
| XML Element | Type | Description |
|---|---|---|
pos | Text | Line item number |
article_id1 | Text | Primary article ID |
article_id2 | Text | Secondary article ID |
article_id3 | Text | Tertiary article ID |
article_partition_specific_number | Text | Customer-specific article number |
article_description | Text | Product description |
quantity | Decimal | Quantity |
unit | Text | Unit of measure |
unit_price | Decimal | Price per unit |
total_price | Decimal | Line item total amount |
gross_price | Decimal | Gross price per unit |
price_unit | Text | Price unit basis |
tax_rate | Decimal | Tax rate at line item level |
tax_amount | Decimal | Tax amount at line item level |