...
Tag | Format | Example | Description |
---|---|---|---|
receipt |
| <receipt> | The receipt tag that defines a receipt for an order |
id | ID | <id>4845</id> | Unique ID |
type | String | <type>receipt</type> | "receipt" if a regular receipt. |
created | Time | <created>2013-04-21 13:54</created> | When the receipt was created |
number | Integer | <number>50034</number> | Counter |
transactionid | String | <transactionid>77</transactionid> | Transaction ID |
customer |
| <customer> | The customer |
id | ID | <id>5</id> | The customer's unique ID |
number | IntegerString | <number>10004</number> | Customer number |
name | String | <name>John Doe</name> | The customer's first and last name |
streetaddress | String | <streetaddress>Main Street 10A</streetaddress> | Street |
postaladdress | String | <postaladdress>590 23 Springfield</postaladdress> | Zip code and city |
country | String | <country>Sweden</country> | Country |
businessunit |
| <businessunit><id>11</id><name>Center facility</name></businessunit> | The business unit the booking belongs to |
company | <company><name>AcmeLLC</name><orgnumber>555555-5555</orgnumber><bankgiro>1111111</bankgiro><postgiro>22222</postgiro></company> | Company information | |
items |
| <items> | The items tag surrounds the bookings, item below |
invoicepayments |
| <invoicepayments> | The invoicepayments tag surrounds paid invoices |
id | ID | <id>17059</id> | Unique ID for the invoice payment |
invoiceid | ID | <invoiceid>54</invoiceid> | ID fo the paid invoice |
invoicenumber | String | <invoicenumber>F2489</invoicenumber> | The number of the paid invoice |
priceexvat | Integer | <priceexvat>2500</priceexvat> | The amount paid without VAT in cents/ören |
priceincvat | Integer | <priceincvat>2650</priceincvat> | The amount paid including VAT in cents/ören |
amount | Integer | <amount>6360</amount> | Inoice amount in cents/ören |
vatsums |
| <vatsums> | VAT percentages with different VATs are applicable |
vatsum |
| <vatsum> | VAT group |
rate | Integer | <rate>6</rate> | VAT percentage |
amount | Integer | <amount>360</amount> | The amount paid for the specified VAT group in cents/ören |
...