Qvalia Messaging Formats

Qvalia Developer tools

Access APIs and technical requirements and get connected in no time!

Our APIs and onboarding team ensures a swift integration into your systems and processes. Qvalia integrates with major ERPs and accounting software.

All Qvalia API’s are REST based and we use both JSON and XML request and response payloads. All message formats are based upon UBL and our JSON format is a representation of the XML called UBL JSON by OASIS Open group. We strive to use the REST standards for response codes and “verbs” (e.g. GET and POST).

The Qvalia API has two separate endpoints for our Production and a Test (Quality Assurance) environment.

You must obtain a Qvalia account prior to using (or testing) the API!

Authentication

We use API keys for the Authentication of requests. You can get your API key from our Support team and you’ll get a separate key and URL for Production and Test environments. All requests are using HTTPS with a minimum of TLS 1.2

Parameters

Some of our API's has the possibility to provide parameters for e.g. filtering. These parameters are sent as a query string and the options are listed per endpoint under the technical API documentation.

Error handling

We offer various error codes based upon the type of error, along with a descriptive error message (in JSON or XML). Like any other API codes in the range of 2xx is a successful request while a status of 4xx indicates an error that occurred because of the data sent or a parameter missing/in error. In the 5xx range indicate an error with our server/service and you should contact the Qvalia Support if you ever would end up getting any 5xx code as response.

Support

You can always contact Qvalia Support through your Qvalia Sales representative or by using our Support e-mail (see your Qvalia Account for details).

Coding

We use Node.js inhouse, and JSON is our format of choice, however, as many ERP and Financial systems are using XML we have opted to add support for both formats in our API. You can freely swap between XML and JSON, just by using different headers:

Omitting accept or content-type headers, we'll default to JSON!

XML

JSON (Default)

GET requests:

accept: application/xml

POST requests:

content-type: application/xml

GET requests:

accept: application/json

POST requests:

content-type: application/json

Node.js sample code for calling the API for sending a JSON request could look like:

Select...
async function httpsPost(registrationNumber, data) {
return new Promise(async (resolve, reject) => {
const options = {
hostname: 'api.qvalia.com',
path: `/transaction/${registrationNumber}/invoices/outgoing`,
port: 443,
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: '412ee738......d3e469a7'
}
};
const body = [];
const req = https.request(options, res => {
res.on('data', d=> {
body.push(d);
});
res.on('end', () => {
resolve(body);
});
});
req.on('error', e => {
reject(e);
});
req.write(JSON.stringify(data));
req.end();
});
}

API

We follow a standard API REST-ish interface on our endpoints and try to adhere to the standard/common return codes and behaviors of any standard API.

We are using the UBL standard messaging formats for our integrations through the API, but you should note that we only use a subset of UBL as specified by Peppol (peppol.eu)

As many of Qvalia's services are compatible with Peppol the data validation is also done using the Peppol standards. For example the Invoice endpoint strictly follows BIS Billing 3.0, https://docs.peppol.eu/poacc/billing/3.0/

This means that, although the JSON format is based upon UBL JSON we only allow the subset stated from https://docs.peppol.eu/poacc/billing/3.0/ for the Invoice and CreditNote message types, see the “Syntax” section!

For Order and OrderResponse you'll find the documentation at: https://docs.peppol.eu/poacc/upgrade-3/

Authentication

We use API keys for the Authentication of requests. You can get your API key from our Support team and you’ll get a separate key and URL for Production and Test environments. All requests are using HTTPS with a minimum of TLS 1.2

Each request made to the API will contain your registration number which is your account identifier for your Qvalia account. Your account identifier will be provided to you from the Support team during the onboarding process.

Your requests must use the registration number as e.g. POST /{registration_number}/invoices/outgoing

UBL JSON Representation standard

For the JSON representation of the format please refer to http://docs.oasis-open.org/ubl/UBL-2.1-JSON/v2.0/UBL-2.1-JSON-v2.0.html

UBL JSON samples and schemas can be found here: http://docs.oasis-open.org/ubl/UBL-2.1-JSON/v2.0/cnd01/

UBL XML Representation standard

For the XML representation, https://docs.oasis-open.org/ubl/UBL-2.1.html

The UBL version 2.1 has been selected due to the many compliant standars with UBL 2.1, mainly the Peppol standard (peppol.eu).

XML samples and XML schemas can be found here: http://docs.oasis-open.org/ubl/os-UBL-2.1/

Required

As the UBL JSON schema is fairly big, we only list the required attributes in the sample request and response data. You can browse the complete JSON schema viewing the UBL-Invoice-2.1.

Note the difference in objects below, only IssueDate is required, and thus IssueTime won't be listed in the sample request/responses:

Attachments

Often our customers wants to add, or request, attached documents to their messages, e.g. their invoices.

We support all the same attachments as Peppol does: Peppol media types

See more under Attachments to messages

SFTP Integration

Qvalia is also offering integration through SFTP. If you have opted for the SFTP integration please read more here: SFTP Integration

Sample Invoice
Expand all

Invoiceobject
child attributes
$object
child attributes
xmlns:cbcstring
xmlns:ccts-cctstring
xmlns:udtstring
xmlns:sdtstring
xmlns:cacstring
xmlns:cctsstring
xmlns:extstring
xmlns:dsstring
xmlnsstring
cbc:CustomizationIDarray
child attributes
cbc:ProfileIDarray
child attributes
cbc:IDarray
child attributes
cbc:IssueDatearray
child attributes
cbc:DueDatearray
child attributes
cbc:InvoiceTypeCodearray
child attributes
cbc:Notearray
child attributes
cbc:TaxPointDatearray
child attributes
cbc:DocumentCurrencyCodearray
child attributes
cbc:BuyerReferencearray
child attributes
cac:OrderReferencearray
child attributes
0array
cac:DespatchDocumentReferencearray
child attributes
0array
cac:AccountingSupplierPartyarray
child attributes
0array
child attributes
_string
$object
child attributes
schemeIDstring
cbc:CompanyIDarray
child attributes
cac:TaxSchemearray
child attributes
0array
cac:AccountingCustomerPartyarray
child attributes
0array
child attributes
_string
$object
child attributes
schemeIDstring
cac:Deliveryarray
child attributes
0array
cac:PaymentMeansarray
child attributes
0array
cac:PaymentTermsarray
child attributes
0array
cac:TaxTotalarray
child attributes
0array
child attributes
cac:LegalMonetaryTotalarray
child attributes
0array
child attributes
cac:InvoiceLinearray
child attributes
0array

Base URL

Language Box

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 { "Invoice": { "$": { "xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", "xmlns:ccts-cct": "urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2", "xmlns:udt": "urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2", "xmlns:sdt": "urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-2", "xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", "xmlns:ccts": "urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2", "xmlns:ext": "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "xmlns:ds": "http://www.w3.org/2000/09/xmldsig#", "xmlns": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" }, "cbc:CustomizationID": [ { "_": "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0" } ], "cbc:ProfileID": [ { "_": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0" } ], "cbc:ID": [ { "_": "123456789-001" } ], "cbc:IssueDate": [ { "_": "2022-04-25" } ], "cbc:DueDate": [ { "_": "2022-05-24" } ], "cbc:InvoiceTypeCode": [ { "_": "380" } ], "cbc:Note": [ { "_": "TEST INVOICE!!!!" } ], "cbc:TaxPointDate": [ { "_": "2022-04-25" } ], "cbc:DocumentCurrencyCode": [ { "_": "SEK" } ], "cbc:BuyerReference": [ { "_": "Buyer Person" } ], "cac:OrderReference": [ { "cbc:ID": [ { "_": "12345" } ] } ], "cac:DespatchDocumentReference": [ { "cbc:ID": [ { "_": "161593" } ] } ], "cac:AccountingSupplierParty": [ { "cac:Party": [ { "cbc:EndpointID": [ { "_": "5567321707", "$": { "schemeID": "0007" } } ], "cac:PartyIdentification": [ { "cbc:ID": [ { "_": "5567321707" } ] } ], "cac:PartyName": [ { "cbc:Name": [ { "_": "Qvalia Group AB" } ] } ], "cac:PostalAddress": [ { "cbc:StreetName": [ { "_": "Box 33" } ], "cbc:CityName": [ { "_": "Stockholm" } ], "cbc:PostalZone": [ { "_": "12030" } ], "cac:Country": [ { "cbc:IdentificationCode": [ { "_": "SE" } ] } ] } ], "cac:PartyTaxScheme": [ { "cbc:CompanyID": [ { "_": "SE556732170701" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "VAT" } ] } ] }, { "cbc:CompanyID": [ { "_": "Godkänd för F-skatt" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "TAX" } ] } ] } ], "cac:PartyLegalEntity": [ { "cbc:RegistrationName": [ { "_": "Qvalia Group AB" } ], "cbc:CompanyID": [ { "_": "5567321707", "$": { "schemeID": "0007" } } ], "cbc:CompanyLegalForm": [ { "_": "Säte Stockholm SE" } ] } ], "cac:Contact": [ { "cbc:Name": [ { "_": "Qvalia Support" } ], "cbc:Telephone": [ { "_": "01860412345" } ], "cbc:ElectronicMail": [ { "_": "info@qvalia.com" } ] } ] } ] } ], "cac:AccountingCustomerParty": [ { "cac:Party": [ { "cbc:EndpointID": [ { "_": "Tester9000", "$": { "schemeID": "0195" } } ], "cac:PartyIdentification": [ { "cbc:ID": [ { "_": "1234567890" } ] } ], "cac:PartyName": [ { "cbc:Name": [ { "_": "TEST" } ] } ], "cac:PostalAddress": [ { "cbc:StreetName": [ { "_": "Box 127" } ], "cbc:CityName": [ { "_": "Uppsala" } ], "cbc:PostalZone": [ { "_": "75104" } ], "cac:Country": [ { "cbc:IdentificationCode": [ { "_": "SE" } ] } ] } ], "cac:PartyLegalEntity": [ { "cbc:RegistrationName": [ { "_": "TEST" } ], "cbc:CompanyID": [ { "_": "1234567890", "$": { "schemeID": "0007" } } ] } ], "cac:Contact": [ { "cbc:Name": [ { "_": "Test Tester" } ], "cbc:Telephone": [ { "_": "0123456" } ], "cbc:ElectronicMail": [ { "_": "leverantorsfaktura@sverige.se" } ] } ] } ] } ], "cac:Delivery": [ { "cbc:ActualDeliveryDate": [ { "_": "2021-08-24" } ], "cac:DeliveryLocation": [ { "cac:Address": [ { "cbc:StreetName": [ { "_": "Street 106" } ], "cbc:CityName": [ { "_": "Västero" } ], "cbc:PostalZone": [ { "_": "73364" } ], "cac:AddressLine": [ { "cbc:Line": [ { "_": "Tester Test" } ] } ], "cac:Country": [ { "cbc:IdentificationCode": [ { "_": "SE" } ] } ] } ] } ] } ], "cac:PaymentMeans": [ { "cbc:PaymentMeansCode": [ { "_": "30" } ], "cac:PayeeFinancialAccount": [ { "cbc:ID": [ { "_": "55677788" } ], "cac:FinancialInstitutionBranch": [ { "cbc:ID": [ { "_": "SE:BANKGIRO" } ] } ] } ] }, { "cbc:PaymentMeansCode": [ { "_": "30" } ], "cac:PayeeFinancialAccount": [ { "cbc:ID": [ { "_": "SE6250000000053123456784" } ], "cac:FinancialInstitutionBranch": [ { "cbc:ID": [ { "_": "ESSESESS" } ] } ] } ] }, { "cbc:PaymentMeansCode": [ { "_": "30" } ], "cac:PayeeFinancialAccount": [ { "cbc:ID": [ { "_": "12345025134" } ], "cac:FinancialInstitutionBranch": [ { "cbc:ID": [ { "_": "ESSESESS" } ] } ] } ] } ], "cac:PaymentTerms": [ { "cbc:Note": [ { "_": "30 dagar netto" } ] } ], "cac:TaxTotal": [ { "cbc:TaxAmount": [ { "_": "30.00", "$": { "currencyID": "SEK" } } ], "cac:TaxSubtotal": [ { "cbc:TaxableAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cbc:TaxAmount": [ { "_": "30.00", "$": { "currencyID": "SEK" } } ], "cac:TaxCategory": [ { "cbc:ID": [ { "_": "S" } ], "cbc:Percent": [ { "_": "25.00" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "VAT" } ] } ] } ] } ] } ], "cac:LegalMonetaryTotal": [ { "cbc:LineExtensionAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cbc:TaxExclusiveAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cbc:TaxInclusiveAmount": [ { "_": "150.00", "$": { "currencyID": "SEK" } } ], "cbc:PayableAmount": [ { "_": "150.00", "$": { "currencyID": "SEK" } } ] } ], "cac:InvoiceLine": [ { "cbc:ID": [ { "_": "1" } ], "cbc:Note": [ { "_": "Delivery reference: 161593" } ], "cbc:InvoicedQuantity": [ { "_": "1", "$": { "unitCode": "EA" } } ], "cbc:LineExtensionAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cac:Item": [ { "cbc:Name": [ { "_": "Piké, FT, svart Herr.4XL" } ], "cac:SellersItemIdentification": [ { "cbc:ID": [ { "_": "001,FT-1-4XL" } ] } ], "cac:ClassifiedTaxCategory": [ { "cbc:ID": [ { "_": "S" } ], "cbc:Percent": [ { "_": "25.00" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "VAT" } ] } ] } ] } ], "cac:Price": [ { "cbc:PriceAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ] } ] } ] } }

Status Codes

200

OK

Everything worked as expected.

401

Unauthorized

Unauthorized. Check your API key

404

Not Found

The requested resource does not exist. This can be either the URI, or query parameters.

409

Conflict

The request cause some conflict, normally a duplicate

422

Unprocessable Entity

The posted data is invalid, in the wrong format or missing

403

Forbidden

The API key doesnt have permissions to perform the request.

JSON/XML or JSON to XML

As we support both the Peppol UBL and XML standards you can freely choose between then, and even mix them, with creating a message as XML but fetching it using JSON, or the other way round.

The response, in JSON, will always include the three latest messages, per default. Using XML you always only get one (as there's no "array" function for XML).

Transformation between JSON and XML

Our API is developed closely to the UBL and Peppol specifications why we've opted to include both the XML and JSON representations of the formats.

The two representations are "interchangeble" through a transform but if you are a "Node.js" shop you should opt for the JSON format. Other programming languages might have an easier time to work with XML instead.

There is a limitation in XML as there is no batch function for XML, meaning the XML format only supports one invoice per request!

Using the npm module xml2js you can transform between JSON and XML as the format is bi-directional.

Select...
const xml2js = require('xml2js');
// Convert from JSON ->> XML
const convertUblJsonToUblXml = async (json) => {
const builder = new xml2js.Builder();
return builder.buildObject(json);
};
// Convert from XML (string) ->> JSON
const convertUblXmlToUblJson = async (xmlString) => {
const parser = new xml2js.Parser({ explicitArray: true, explicitCharkey: true });
return parser.parseStringPromise(xmlString);
};

Limit

The XML has no “envelope” so we only ever return one message, meaning the limit parameter is set to 1. Using JSON you can set any limit you like, but the response size is limited to 6 MB.

For JSON, we return the integrationId as part of the message, while with XML you'll find it as a returned HTTP header named integrationId. When you do a POST (creating something) we return the message about the message created along with the integrationId.

The integrationId is the unique identifier for the message in our database and you can store that as an external permanent link to the message with us.

JSON

XML

A Sample JSON Invoice:

Select...
{
"Invoice": {
"$": {
"xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
"xmlns:ccts-cct": "urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2",
"xmlns:udt": "urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2",
"xmlns:sdt": "urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-2",
"xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
"xmlns:ccts": "urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2",
"xmlns:ext": "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2",
"xmlns:ds": "http://www.w3.org/2000/09/xmldsig#",
"xmlns": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
},
"cbc:CustomizationID": [
{
"_": "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"
}
],
"cbc:ProfileID": [
{
"_": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"
}
],
"cbc:ID": [
{
"_": "23000"
}
],
"cbc:IssueDate": [
{
"_": "2023-02-17"
}
],
"cbc:DueDate": [
{
"_": "2022-05-24"
}
],
"cbc:InvoiceTypeCode": [
{
"_": "380"
}
],
"cbc:DocumentCurrencyCode": [
{
"_": "SEK"
}
],
"cbc:BuyerReference": [
{
"_": "Buyer Person"
}
],
"cac:AdditionalDocumentReference": [
{
"cbc:ID": [
{
"_": "AT-1"
}
],
"cac:Attachment": [
{
"cbc:EmbeddedDocumentBinaryObject": [
{
"_": "VmkgdGVzdGFyIGxpdGUgdGV4dA==",
"$": {
"filename": "Fakturabrev.csv",
"mimeCode": "text/csv"
}
}
]
}
]
}
],
"cac:AccountingSupplierParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "5567321707",
"$": {
"schemeID": "0007"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5567321707"
}
]
}
],
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "Qvalia Group AB"
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Box 33"
}
],
"cbc:CityName": [
{
"_": "Stockholm"
}
],
"cbc:PostalZone": [
{
"_": "12030"
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "SE"
}
]
}
]
}
],
"cac:PartyTaxScheme": [
{
"cbc:CompanyID": [
{
"_": "SE556732170701"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "VAT"
}
]
}
]
},
{
"cbc:CompanyID": [
{
"_": "Godkänd för F-skatt"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "TAX"
}
]
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "Qvalia Group AB"
}
],
"cbc:CompanyID": [
{
"_": "5567321707",
"$": {
"schemeID": "0007"
}
}
],
"cbc:CompanyLegalForm": [
{
"_": "Säte Stockholm SE"
}
]
}
],
"cac:Contact": [
{
"cbc:Name": [
{
"_": "Qvalia Support"
}
],
"cbc:Telephone": [
{
"_": "01860412345"
}
],
"cbc:ElectronicMail": [
{
"_": "info@qvalia.com"
}
]
}
]
}
]
}
],
"cac:AccountingCustomerParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "Tester9000",
"$": {
"schemeID": "0195"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "1234567890"
}
]
}
],
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "TEST"
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Box 127"
}
],
"cbc:CityName": [
{
"_": "Uppsala"
}
],
"cbc:PostalZone": [
{
"_": "75104"
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "SE"
}
]
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "TEST"
}
],
"cbc:CompanyID": [
{
"_": "1234567890",
"$": {
"schemeID": "0007"
}
}
]
}
],
"cac:Contact": [
{
"cbc:Name": [
{
"_": "Test Tester"
}
],
"cbc:Telephone": [
{
"_": "0123456"
}
],
"cbc:ElectronicMail": [
{
"_": "leverantorsfaktura@sverige.se"
}
]
}
]
}
]
}
],
"cac:Delivery": [
{
"cbc:ActualDeliveryDate": [
{
"_": "2021-08-24"
}
],
"cac:DeliveryLocation": [
{
"cac:Address": [
{
"cbc:StreetName": [
{
"_": "Street 106"
}
],
"cbc:CityName": [
{
"_": "Västero"
}
],
"cbc:PostalZone": [
{
"_": "73364"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "Tester Test"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "SE"
}
]
}
]
}
]
}
]
}
],
"cac:PaymentMeans": [
{
"cbc:PaymentMeansCode": [
{
"_": "30"
}
],
"cac:PayeeFinancialAccount": [
{
"cbc:ID": [
{
"_": "55677788"
}
],
"cac:FinancialInstitutionBranch": [
{
"cbc:ID": [
{
"_": "SE:BANKGIRO"
}
]
}
]
}
]
},
{
"cbc:PaymentMeansCode": [
{
"_": "30"
}
],
"cac:PayeeFinancialAccount": [
{
"cbc:ID": [
{
"_": "SE6250000000053123456784"
}
],
"cac:FinancialInstitutionBranch": [
{
"cbc:ID": [
{
"_": "ESSESESS"
}
]
}
]
}
]
},
{
"cbc:PaymentMeansCode": [
{
"_": "30"
}
],
"cac:PayeeFinancialAccount": [
{
"cbc:ID": [
{
"_": "12345025134"
}
],
"cac:FinancialInstitutionBranch": [
{
"cbc:ID": [
{
"_": "ESSESESS"
}
]
}
]
}
]
}
],
"cac:PaymentTerms": [
{
"cbc:Note": [
{
"_": "30 dagar netto"
}
]
}
],
"cac:TaxTotal": [
{
"cbc:TaxAmount": [
{
"_": "30.00",
"$": {
"currencyID": "SEK"
}
}
],
"cac:TaxSubtotal": [
{
"cbc:TaxableAmount": [
{
"_": "120.00",
"$": {
"currencyID": "SEK"
}
}
],
"cbc:TaxAmount": [
{
"_": "30.00",
"$": {
"currencyID": "SEK"
}
}
],
"cac:TaxCategory": [
{
"cbc:ID": [
{
"_": "S"
}
],
"cbc:Percent": [
{
"_": "25.00"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "VAT"
}
]
}
]
}
]
}
]
}
],
"cac:LegalMonetaryTotal": [
{
"cbc:LineExtensionAmount": [
{
"_": "120.00",
"$": {
"currencyID": "SEK"
}
}
],
"cbc:TaxExclusiveAmount": [
{
"_": "120.00",
"$": {
"currencyID": "SEK"
}
}
],
"cbc:TaxInclusiveAmount": [
{
"_": "150.00",
"$": {
"currencyID": "SEK"
}
}
],
"cbc:PayableAmount": [
{
"_": "150.00",
"$": {
"currencyID": "SEK"
}
}
]
}
],
"cac:InvoiceLine": [
{
"cbc:ID": [
{
"_": "1"
}
],
"cbc:Note": [
{
"_": "Delivery reference: 161593"
}
],
"cbc:InvoicedQuantity": [
{
"_": "1",
"$": {
"unitCode": "EA"
}
}
],
"cbc:LineExtensionAmount": [
{
"_": "120.00",
"$": {
"currencyID": "SEK"
}
}
],
"cac:Item": [
{
"cbc:Name": [
{
"_": "Piké, FT, svart Herr.4XL"
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "001,FT-1-4XL"
}
]
}
],
"cac:ClassifiedTaxCategory": [
{
"cbc:ID": [
{
"_": "S"
}
],
"cbc:Percent": [
{
"_": "25.00"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "VAT"
}
]
}
]
}
]
}
],
"cac:Price": [
{
"cbc:PriceAmount": [
{
"_": "120.00",
"$": {
"currencyID": "SEK"
}
}
]
}
]
}
]
}
}

A Sample XML Invoice:

Select...
<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
<cbc:ID>1234567890</cbc:ID>
<cbc:IssueDate>2022-05-10</cbc:IssueDate>
<cbc:DueDate>2022-06-09</cbc:DueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>SEK</cbc:DocumentCurrencyCode>
<cbc:BuyerReference>A reference</cbc:BuyerReference>
<cac:OrderReference>
<cbc:ID>Order-12345</cbc:ID>
</cac:OrderReference>
<cac:AccountingSupplierParty>
<cac:Party>
<cbc:EndpointID schemeID="0007">1234567890</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>A Supplier Company</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Box 12345</cbc:StreetName>
<cbc:CityName>Stockholm</cbc:CityName>
<cbc:PostalZone>10204</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>SE123456789001</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>A Supplier Company</cbc:RegistrationName>
<cbc:CompanyID schemeID="0007">1234567890</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Name>Contact Person</cbc:Name>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="0007">9876543210</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">9876543210</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>Buyer Company</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Street 1 A</cbc:StreetName>
<cbc:CityName>City</cbc:CityName>
<cbc:PostalZone>12345</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Buyer Company</cbc:RegistrationName>
<cbc:CompanyID schemeID="0007">9876543210</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Name>Customer Contact</cbc:Name>
<cbc:ElectronicMail>john.doe@somewhere.com</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cbc:PaymentID>2609912345678003573</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>57123456</cbc:ID>
<cac:FinancialInstitutionBranch>
<cbc:ID>SE:BANKGIRO</cbc:ID>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cbc:PaymentID>2609912345678003573</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>SE53 9500 0099 6042 1234 1234</cbc:ID>
<cac:FinancialInstitutionBranch>
<cbc:ID>NDEASESS</cbc:ID>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="SEK">3000</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="SEK">12000</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="SEK">3000</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>25</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="SEK">12000</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="SEK">12000</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="SEK">15000</cbc:TaxInclusiveAmount>
<cbc:ChargeTotalAmount currencyID="SEK">0</cbc:ChargeTotalAmount>
<cbc:PayableAmount currencyID="SEK">15000</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="EA">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="SEK">12000</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Description>An item description which can be long</cbc:Description>
<cbc:Name>Item name</cbc:Name>
<cac:SellersItemIdentification>
<cbc:ID>Item00001</cbc:ID>
</cac:SellersItemIdentification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>25</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="SEK">12000</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</Invoice>

Attachments to messages

Often our customers wants to add, or request, attached documents to their messages, e.g. their invoices.

We support all the same attachments as Peppol does: Peppol media types

SUPPORTED FILE TYPES

Documents

application/pdf

Images

image/png image/jpeg

Text

text/csv

Spreadsheet

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.oasis.opendocument.spreadsheet

Technical details

Any attachment has to be base64 encoded and added under the AdditionalDocumentReference element; https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-AdditionalDocumentReference/cac-Attachment/

JSON

Select...
"AdditionalDocumentReference":[{
"ID":[{"_":"InvocieSpecification01"}],
"DocumentType":[{"_":"Specification"}],
"Attachment":[{
"EmbeddedDocumentBinaryObject":[
{
"_":"UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi",
"mimeCode":"application/pdf",
"filename":"InvocieSpecification01.pdf"
}
]
}]
}]

xml

Select...

<cac:AdditionalDocumentReference>

<cbc:ID>InvocieSpecification01</cbc:ID>

<cac:Attachment>

<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="InvocieSpecification01.pdf">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</cbc:EmbeddedDocumentBinaryObject>

</cac:Attachment>

</cac:AdditionalDocumentReference>

SFTP-Integration

The Qvalia SFTP integration handles all Peppol XML Document types by default but we also support "custom" formats.

"Custom format" means we can add a transformation for your required format both for outbound (sending) and inbound (receiving) documents. For example, if you use SAP IDoc we can transform incoming Peppol XML to SAP IDoc for you and you'd pick up the ready-made SAP format from our SFTP. Likewise, if you are using outbound, you can upload your SAP IDoc and we will transform it for you.

The SFTP setup is done by our helpdesk, and you will require a Qvalia account prior to being able to test the SFTP integration.

Qvalia hosts an SFTP Server, and both sending and receiving is done through an SFTP client from your environment.

Sending and receiving

Any inbound (receiving) documents will be uniquely named according to a predefined format including, e.g., the document date and document number, and place in the root directory of your SFTP account.

We recommend that you follow the common SFTP renaming standards for downloading received files to avoid downloading duplicates in case connection would be interrupted:

  • Connect to the SFTP server
  • List files
  • Start processing file list by:
    • Rename the first file in the list to {original-filename}.downloading
    • Start download of {original-filename}.downloading
    • Once download is completed, delete {original-filename}.downloading from SFTP Server
    • Rename {original-filename}.downloading locally back to {original-filename}

Outbound (sending) documents will be uploaded by you to the sub-directory named /send. The send directory is created automatically for you when you opt for the outbound functionality from Qvalia.

Error handling and processing

When you upload your outbound documents and they should happen to be faulty in some way (e.g. invalid Peppol XML) the file uploaded will be renamed to {original-filename}.error and while the file is being inspected and processed by us it will be renamed as {original-filename}.processing.

Once the processing is completed the file will be moved, and again renamed, in a sub-directory called processed, meaning you will find your already processed files in /send/processed/{original-filename}.processed.

When, and if, you remove (delete) the files form /processed is up to you but please note that some SFTP clients can't read too large file lists why we recommend emptying the /processed sub-directory at a set interval, depending on the number of files you send.

Invoice APIs

APIs related to invoice handling

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

Responses
Expand all

200
Object
JSON GET Response

Response attributes

statusstring
dataarray
child attributes
Invoiceobject
422
Object
Unprocessable Entity

Response attributes

statusstring
typestring
datastring
metadataobject
child attributes
descriptionstring
detailsarray
child attributes
additionalPropertystring

Invoice Request Sample (POST)
Expand all

Invoiceobject
child attributes
$object
child attributes
xmlns:cbcstring
xmlns:ccts-cctstring
xmlns:udtstring
xmlns:sdtstring
xmlns:cacstring
xmlns:cctsstring
xmlns:extstring
xmlns:dsstring
xmlnsstring
cbc:CustomizationIDarray
child attributes
cbc:ProfileIDarray
child attributes
cbc:IDarray
child attributes
cbc:IssueDatearray
child attributes
cbc:DueDatearray
child attributes
cbc:InvoiceTypeCodearray
child attributes
cbc:Notearray
child attributes
cbc:TaxPointDatearray
child attributes
cbc:DocumentCurrencyCodearray
child attributes
cbc:BuyerReferencearray
child attributes
cac:OrderReferencearray
child attributes
0array
cac:DespatchDocumentReferencearray
child attributes
0array
cac:AccountingSupplierPartyarray
child attributes
0array
child attributes
_string
$object
child attributes
schemeIDstring
cbc:CompanyIDarray
child attributes
cac:TaxSchemearray
child attributes
0array
cac:AccountingCustomerPartyarray
child attributes
0array
child attributes
_string
$object
child attributes
schemeIDstring
cac:Deliveryarray
child attributes
0array
cac:PaymentMeansarray
child attributes
0array
cac:PaymentTermsarray
child attributes
0array
cac:TaxTotalarray
child attributes
0array
child attributes
cac:LegalMonetaryTotalarray
child attributes
0array
child attributes
cac:InvoiceLinearray
child attributes
0array

Base URL

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 { "Invoice": { "$": { "xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", "xmlns:ccts-cct": "urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2", "xmlns:udt": "urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2", "xmlns:sdt": "urn:oasis:names:specification:ubl:schema:xsd:SpecializedDatatypes-2", "xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", "xmlns:ccts": "urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2", "xmlns:ext": "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "xmlns:ds": "http://www.w3.org/2000/09/xmldsig#", "xmlns": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" }, "cbc:CustomizationID": [ { "_": "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0" } ], "cbc:ProfileID": [ { "_": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0" } ], "cbc:ID": [ { "_": "123456789-001" } ], "cbc:IssueDate": [ { "_": "2022-04-25" } ], "cbc:DueDate": [ { "_": "2022-05-24" } ], "cbc:InvoiceTypeCode": [ { "_": "380" } ], "cbc:Note": [ { "_": "TEST INVOICE!!!!" } ], "cbc:TaxPointDate": [ { "_": "2022-04-25" } ], "cbc:DocumentCurrencyCode": [ { "_": "SEK" } ], "cbc:BuyerReference": [ { "_": "Buyer Person" } ], "cac:OrderReference": [ { "cbc:ID": [ { "_": "12345" } ] } ], "cac:DespatchDocumentReference": [ { "cbc:ID": [ { "_": "161593" } ] } ], "cac:AccountingSupplierParty": [ { "cac:Party": [ { "cbc:EndpointID": [ { "_": "5567321707", "$": { "schemeID": "0007" } } ], "cac:PartyIdentification": [ { "cbc:ID": [ { "_": "5567321707" } ] } ], "cac:PartyName": [ { "cbc:Name": [ { "_": "Qvalia Group AB" } ] } ], "cac:PostalAddress": [ { "cbc:StreetName": [ { "_": "Box 33" } ], "cbc:CityName": [ { "_": "Stockholm" } ], "cbc:PostalZone": [ { "_": "12030" } ], "cac:Country": [ { "cbc:IdentificationCode": [ { "_": "SE" } ] } ] } ], "cac:PartyTaxScheme": [ { "cbc:CompanyID": [ { "_": "SE556732170701" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "VAT" } ] } ] }, { "cbc:CompanyID": [ { "_": "Godkänd för F-skatt" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "TAX" } ] } ] } ], "cac:PartyLegalEntity": [ { "cbc:RegistrationName": [ { "_": "Qvalia Group AB" } ], "cbc:CompanyID": [ { "_": "5567321707", "$": { "schemeID": "0007" } } ], "cbc:CompanyLegalForm": [ { "_": "Säte Stockholm SE" } ] } ], "cac:Contact": [ { "cbc:Name": [ { "_": "Qvalia Support" } ], "cbc:Telephone": [ { "_": "01860412345" } ], "cbc:ElectronicMail": [ { "_": "info@qvalia.com" } ] } ] } ] } ], "cac:AccountingCustomerParty": [ { "cac:Party": [ { "cbc:EndpointID": [ { "_": "Tester9000", "$": { "schemeID": "0195" } } ], "cac:PartyIdentification": [ { "cbc:ID": [ { "_": "1234567890" } ] } ], "cac:PartyName": [ { "cbc:Name": [ { "_": "TEST" } ] } ], "cac:PostalAddress": [ { "cbc:StreetName": [ { "_": "Box 127" } ], "cbc:CityName": [ { "_": "Uppsala" } ], "cbc:PostalZone": [ { "_": "75104" } ], "cac:Country": [ { "cbc:IdentificationCode": [ { "_": "SE" } ] } ] } ], "cac:PartyLegalEntity": [ { "cbc:RegistrationName": [ { "_": "TEST" } ], "cbc:CompanyID": [ { "_": "1234567890", "$": { "schemeID": "0007" } } ] } ], "cac:Contact": [ { "cbc:Name": [ { "_": "Test Tester" } ], "cbc:Telephone": [ { "_": "0123456" } ], "cbc:ElectronicMail": [ { "_": "leverantorsfaktura@sverige.se" } ] } ] } ] } ], "cac:Delivery": [ { "cbc:ActualDeliveryDate": [ { "_": "2021-08-24" } ], "cac:DeliveryLocation": [ { "cac:Address": [ { "cbc:StreetName": [ { "_": "Street 106" } ], "cbc:CityName": [ { "_": "Västero" } ], "cbc:PostalZone": [ { "_": "73364" } ], "cac:AddressLine": [ { "cbc:Line": [ { "_": "Tester Test" } ] } ], "cac:Country": [ { "cbc:IdentificationCode": [ { "_": "SE" } ] } ] } ] } ] } ], "cac:PaymentMeans": [ { "cbc:PaymentMeansCode": [ { "_": "30" } ], "cac:PayeeFinancialAccount": [ { "cbc:ID": [ { "_": "55677788" } ], "cac:FinancialInstitutionBranch": [ { "cbc:ID": [ { "_": "SE:BANKGIRO" } ] } ] } ] }, { "cbc:PaymentMeansCode": [ { "_": "30" } ], "cac:PayeeFinancialAccount": [ { "cbc:ID": [ { "_": "SE6250000000053123456784" } ], "cac:FinancialInstitutionBranch": [ { "cbc:ID": [ { "_": "ESSESESS" } ] } ] } ] }, { "cbc:PaymentMeansCode": [ { "_": "30" } ], "cac:PayeeFinancialAccount": [ { "cbc:ID": [ { "_": "12345025134" } ], "cac:FinancialInstitutionBranch": [ { "cbc:ID": [ { "_": "ESSESESS" } ] } ] } ] } ], "cac:PaymentTerms": [ { "cbc:Note": [ { "_": "30 dagar netto" } ] } ], "cac:TaxTotal": [ { "cbc:TaxAmount": [ { "_": "30.00", "$": { "currencyID": "SEK" } } ], "cac:TaxSubtotal": [ { "cbc:TaxableAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cbc:TaxAmount": [ { "_": "30.00", "$": { "currencyID": "SEK" } } ], "cac:TaxCategory": [ { "cbc:ID": [ { "_": "S" } ], "cbc:Percent": [ { "_": "25.00" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "VAT" } ] } ] } ] } ] } ], "cac:LegalMonetaryTotal": [ { "cbc:LineExtensionAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cbc:TaxExclusiveAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cbc:TaxInclusiveAmount": [ { "_": "150.00", "$": { "currencyID": "SEK" } } ], "cbc:PayableAmount": [ { "_": "150.00", "$": { "currencyID": "SEK" } } ] } ], "cac:InvoiceLine": [ { "cbc:ID": [ { "_": "1" } ], "cbc:Note": [ { "_": "Delivery reference: 161593" } ], "cbc:InvoicedQuantity": [ { "_": "1", "$": { "unitCode": "EA" } } ], "cbc:LineExtensionAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ], "cac:Item": [ { "cbc:Name": [ { "_": "Piké, FT, svart Herr.4XL" } ], "cac:SellersItemIdentification": [ { "cbc:ID": [ { "_": "001,FT-1-4XL" } ] } ], "cac:ClassifiedTaxCategory": [ { "cbc:ID": [ { "_": "S" } ], "cbc:Percent": [ { "_": "25.00" } ], "cac:TaxScheme": [ { "cbc:ID": [ { "_": "VAT" } ] } ] } ] } ], "cac:Price": [ { "cbc:PriceAmount": [ { "_": "120.00", "$": { "currencyID": "SEK" } } ] } ] } ] } }
1

Status Codes

200

OK

Everything worked as expected.

400

Bad request

The request was unacceptable, often due to missing a required parameter.

401

Unauthorized

The request was unacceptable, often due to missing a required parameter.

402

Request Failed

The parameters were valid but the request failed.

403

Forbidden

The API key doesnt have permissions to perform the request.

404

Not Found

The requested resource does not exist.

Get incoming invoices

The response, in JSON, will always include the three latest messages, per default. Using XML you always only get one (as there's no "array" function for XML).

Use limit parameter to change the number of returned messages and combine it with offset to traverse down the list, e.g: https://api-qa.qvalia.com/transaction/{accountRegNo}/invoices/incoming?limit=10&offset=10

To get new messages only, use the "Get incoming read invoices" endpoint instead.

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Acceptstring

Account endpoints only support JSON

QUERY PARAMETERS

limitstring
includeReadstring
offsetstring
documentIdstring
fromstring
tostring
updatedAtFromstring
updatedAtTostring

PATH PARAMETERS

accountRegNostring

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":[{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"6666555264"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
dataarray
example
{"status":"success","data":[{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"6666555264"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
child attributes
$object
child attributes
xmlns:cbcstring
xmlns:ccts-cctstring
xmlns:udtstring
xmlns:sdtstring
xmlns:cacstring
xmlns:cctsstring
xmlns:extstring
xmlns:dsstring
xmlnsstring
cbc:CustomizationIDarray
child attributes
cbc:ProfileIDarray
child attributes
cbc:IDarray
child attributes
cbc:IssueDatearray
child attributes
cbc:DueDatearray
child attributes
cbc:InvoiceTypeCodearray
child attributes
cbc:Notearray
child attributes
cbc:TaxPointDatearray
child attributes
cbc:DocumentCurrencyCodearray
child attributes
cbc:BuyerReferencearray
child attributes
cac:OrderReferencearray
child attributes
0object
child attributes
_string
cac:DespatchDocumentReferencearray
child attributes
0object
child attributes
_string
cac:AccountingSupplierPartyarray
child attributes
0object
child attributes
cbc:EndpointIDarray
child attributes
schemeIDstring
cac:PartyIdentificationarray
child attributes
0object
child attributes
_string
cac:PartyNamearray
child attributes
0object
child attributes
_string
cac:PostalAddressarray
child attributes
0object
child attributes
_string
cac:PartyTaxSchemearray
child attributes
0object
child attributes
_string
cac:PartyLegalEntityarray
child attributes
0object
child attributes
_string
cac:Contactarray
child attributes
0object
child attributes
_string
cac:AccountingCustomerPartyarray
child attributes
0object
child attributes
cbc:EndpointIDarray
child attributes
schemeIDstring
cac:PartyIdentificationarray
child attributes
0object
child attributes
_string
cac:PartyNamearray
child attributes
0object
child attributes
_string
cac:PostalAddressarray
child attributes
0object
child attributes
_string
cac:PartyLegalEntityarray
child attributes
0object
child attributes
_string
cac:Contactarray
child attributes
0object
child attributes
_string
cac:Deliveryarray
child attributes
0object
child attributes
_string
cac:PaymentMeansarray
child attributes
0object
child attributes
_string
cac:PaymentTermsarray
child attributes
0object
child attributes
_string
cac:TaxTotalarray
child attributes
0object
child attributes
_string
$object
child attributes
currencyIDstring
cac:LegalMonetaryTotalarray
child attributes
0object
child attributes
_string
$object
child attributes
currencyIDstring
cac:InvoiceLinearray
child attributes
0object
child attributes
_string
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
1

Post incoming invoice

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

PATH PARAMETERS

accountRegNostring

BODY PARAMETERS

Invoiceobject
example
{"Invoice":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:ccts":"urn:un:unece:uncefact:documentation:2","xmlns:qdt":"urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2","xmlns:udt":"urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"},"cbc:UBLVersionID":[{"_":"2.0"}],"cbc:CustomizationID":[{"_":"urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0"}],"cbc:ProfileID":[{"_":"urn:www.cenbii.eu:profile:bii05:ver2.0"}],"cbc:ID":[{"_":"3222224131"}],"cbc:IssueDate":[{"_":"2019-05-31"}],"cbc:InvoiceTypeCode":[{"_":"380","$":{"listID":"UNCL1001"}}],"cbc:Note":[{"_":"A note saying something"}],"cbc:DocumentCurrencyCode":[{"_":"SEK","$":{"listID":"ISO4217"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:OrderReference":[{"cbc:ID":[{"_":"GEM601000"}]}],"cac:AdditionalDocumentReference":[{"cac:ID":[{"_":"AT-1"}],"cac:Attachment":[{"cac:EmbeddedDocumentBinaryObject":[{"_":"dmFsaWQgYmFzZTY0","$":{"filename":"An attached PDF.pdf","mimeCode":"application/pdf"}}]}]}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"5567112345","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"7300001234567","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Seller Company Inc."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Ormestagatan 2"}],"cbc:AdditionalStreetName":[{"_":"Box 123"}],"cbc:CityName":[{"_":"Örebro"}],"cbc:PostalZone":[{"_":"70283"}],"cbc:CountrySubentity":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE556711234501","$":{"schemeID":"SE:VAT"}}],"cbc:ExemptionReason":[{"_":"Godkänd för F-skatt"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Seller Company Inc."}],"cbc:CompanyID":[{"_":"2222222","$":{"schemeID":"SE:ORGNR"}}],"cac:RegistrationAddress":[{"cbc:CityName":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}]}],"cac:Contact":[{"cbc:Name":[{"_":"Kundtjänst"}],"cbc:Telephone":[{"_":"+4612345678"}],"cbc:ElectronicMail":[{"_":"order@company.com"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2120001234","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Another buyer"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"A street"}],"cbc:CityName":[{"_":"Mölndal"}],"cbc:PostalZone":[{"_":"431 82"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:VAT"}}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Another buyer"}],"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Contact me"}],"cbc:ElectronicMail":[{"_":"a@b.com"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"31","$":{"listID":"UNCL4461"}}],"cbc:PaymentDueDate":[{"_":"2019-07-30"}],"cbc:PaymentChannelCode":[{"_":"SE:BANKGIRO"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"12345678","$":{"schemeID":"LOCAL"}}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"30 dagar netto"}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]},{"cbc:TaxableAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"6"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxExclusiveAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxInclusiveAmount":[{"_":"197675","$":{"currencyID":"SEK"}}],"cbc:PayableRoundingAmount":[{"_":"-.24","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"197675","$":{"currencyID":"SEK"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"123"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"EA","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"983303-5-9"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"3"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"NY"}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]}]}}

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":{"message":"invoice 12335675 sent","invoice_id":"12335675"}}
dataobject
example
{"status":"success","data":{"message":"invoice 12335675 sent","invoice_id":"12335675"}}
child attributes
messagestring
invoice_idstring
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
409
Object

Response attributes

statusstring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
typestring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
datastring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
metadataobject
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
child attributes
debug_error_messagestring
debug_error_codeinteger
422
Object

Response attributes

statusstring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
typestring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
datastring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
metadataobject
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
child attributes
descriptionstring
detailsobject
1

Get incoming read invoices

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Acceptstring

Account endpoints only support JSON

QUERY PARAMETERS

limitstring
includeReadstring
offsetstring
documentIdstring
fromstring
tostring
updatedAtFromstring
updatedAtTostring

PATH PARAMETERS

accountRegNostring

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":[{"Invoice":{"$":{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:xs":"http://www.w3.org/2001/XMLSchema","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cec":"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2","xmlns:ds":"http://www.w3.org/2000/09/xmldsig#","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:UBLVersionID":[{"_":"2.1"}],"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"1001106"}],"cbc:IssueDate":[{"_":"2021-10-31"}],"cbc:DueDate":[{"_":"2021-11-30"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cbc:AccountingCost":[{"_":"Markus Johansson"}],"cbc:BuyerReference":[{"_":"18114"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"5598765432","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"5598765432"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Company & Sons"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"The road 311"}],"cbc:CityName":[{"_":"Ängelholm"}],"cbc:PostalZone":[{"_":"26273"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE559876543201"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]},{"cbc:CompanyID":[{"_":"Godkänd för F-skatt"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"TAX"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Company & Sons"}],"cbc:CompanyID":[{"_":"5598765432","$":{"schemeID":"0007"}}],"cbc:CompanyLegalForm":[{"_":"Säte Ängelholm SE"}]}],"cac:Contact":[{"cbc:Name":[{"_":"The contact"}],"cbc:Telephone":[{"_":"0123456788"}],"cbc:ElectronicMail":[{"_":"info@company.se"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"734001981023456","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2120001234"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Customer AB"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Home 12"}],"cbc:CityName":[{"_":"LULEÅ"}],"cbc:PostalZone":[{"_":"97174"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Customer AB"}],"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Markus Johansson"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30"}],"cbc:PaymentID":[{"_":"1001106"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"123456"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"SE:BANKGIRO"}]}]}]},{"cbc:PaymentMeansCode":[{"_":"30"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"SE69120000000120201123456"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"DABASESX"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"1799.38","$":{"currencyID":"SEK"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"7197.52","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"1799.38","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"7197.52","$":{"currencyID":"SEK"}}],"cbc:TaxExclusiveAmount":[{"_":"7197.52","$":{"currencyID":"SEK"}}],"cbc:TaxInclusiveAmount":[{"_":"8996.90","$":{"currencyID":"SEK"}}],"cbc:PayableRoundingAmount":[{"_":"0.10","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"8997.00","$":{"currencyID":"SEK"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"0"}],"cbc:Note":[{"_":"Delivery date: 2021-11-01"}],"cbc:InvoicedQuantity":[{"_":"0","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"PDF ZF"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"1"}],"cbc:Note":[{"_":"Delivery date: 2021-11-01"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"Onr: 21-100582 Objekt: Anm: ErRef"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:Note":[{"_":"11 Byggdagar 2021-10-15 - 2021-10-31\n Delivery date: 2021-10-15\n "}],"cbc:InvoicedQuantity":[{"_":"11.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"1409.98","$":{"currencyID":"SEK"}}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"false"}],"cbc:AllowanceChargeReason":[{"_":"Discount"}],"cbc:MultiplierFactorNumeric":[{"_":"66.00"}],"cbc:Amount":[{"_":"2737.02","$":{"currencyID":"SEK"}}],"cbc:BaseAmount":[{"_":"4147.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"PERS-VAGN, 6-MAN, EL/G/DU/TC"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"935144"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"377.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"3"}],"cbc:Note":[{"_":"11 Byggdagar 2021-10-15 - 2021-10-31\n Delivery date: 2021-10-15\n "}],"cbc:InvoicedQuantity":[{"_":"11.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"NYCKEL TILL BOD ALT LÅS"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"939901"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"4"}],"cbc:Note":[{"_":"17 Kalenderdagar 2021-10-15 - 2021-10-31\n Delivery date: 2021-10-15\n "}],"cbc:InvoicedQuantity":[{"_":"17.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"195.50","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"FÖRLÄNGN.KABEL, 16A, 21-25M"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"521625-20"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"11.50","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"5"}],"cbc:Note":[{"_":"Delivery date: 2021-11-01"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"Onr: 462007 Objekt: Anm"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"6"}],"cbc:Note":[{"_":"31 Kalenderdagar 2021-10-01 - 2021-10-31\n Delivery date: 2021-10-01\n "}],"cbc:InvoicedQuantity":[{"_":"31.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"3436.04","$":{"currencyID":"SEK"}}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"false"}],"cbc:AllowanceChargeReason":[{"_":"Discount"}],"cbc:MultiplierFactorNumeric":[{"_":"66.00"}],"cbc:Amount":[{"_":"6669.96","$":{"currencyID":"SEK"}}],"cbc:BaseAmount":[{"_":"10106.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"PERS-VAGN, 4/6MAN, EL/G/DU/TC OMT 4/6 -40D"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"935125"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"326.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"7"}],"cbc:Note":[{"_":"270 Kalenderdagar 2021-02-04 - 2021-10-31\n Delivery date: 2021-02-04\n "}],"cbc:InvoicedQuantity":[{"_":"270.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"NYCKEL TILL BOD ALT LÅS"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"939901"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"8"}],"cbc:Note":[{"_":"Delivery date: 2021-05-29"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"TÖMNING/LADDNING BESTÄLLD 11/5"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"9"}],"cbc:Note":[{"_":"Delivery date: 2021-02-04"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"TÖMNING/LADDNING BESTÄLLD 29/6"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"10"}],"cbc:Note":[{"_":"Delivery date: 2021-02-04"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"TÖMNING/LADDNING BESTÄLLD 28/9"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"11"}],"cbc:Note":[{"_":"Delivery date: 2021-10-22"}],"cbc:InvoicedQuantity":[{"_":"1.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"2156.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"SPOLPL"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"F19351060"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"2156.00","$":{"currencyID":"SEK"}}]}]}]}},{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"666664"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}},{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"6666264"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
dataarray
example
{"status":"success","data":[{"Invoice":{"$":{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:xs":"http://www.w3.org/2001/XMLSchema","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cec":"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2","xmlns:ds":"http://www.w3.org/2000/09/xmldsig#","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:UBLVersionID":[{"_":"2.1"}],"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"1001106"}],"cbc:IssueDate":[{"_":"2021-10-31"}],"cbc:DueDate":[{"_":"2021-11-30"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cbc:AccountingCost":[{"_":"Markus Johansson"}],"cbc:BuyerReference":[{"_":"18114"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"5598765432","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"5598765432"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Company & Sons"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"The road 311"}],"cbc:CityName":[{"_":"Ängelholm"}],"cbc:PostalZone":[{"_":"26273"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE559876543201"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]},{"cbc:CompanyID":[{"_":"Godkänd för F-skatt"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"TAX"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Company & Sons"}],"cbc:CompanyID":[{"_":"5598765432","$":{"schemeID":"0007"}}],"cbc:CompanyLegalForm":[{"_":"Säte Ängelholm SE"}]}],"cac:Contact":[{"cbc:Name":[{"_":"The contact"}],"cbc:Telephone":[{"_":"0123456788"}],"cbc:ElectronicMail":[{"_":"info@company.se"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"734001981023456","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2120001234"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Customer AB"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Home 12"}],"cbc:CityName":[{"_":"LULEÅ"}],"cbc:PostalZone":[{"_":"97174"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Customer AB"}],"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Markus Johansson"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30"}],"cbc:PaymentID":[{"_":"1001106"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"123456"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"SE:BANKGIRO"}]}]}]},{"cbc:PaymentMeansCode":[{"_":"30"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"SE69120000000120201123456"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"DABASESX"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"1799.38","$":{"currencyID":"SEK"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"7197.52","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"1799.38","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"7197.52","$":{"currencyID":"SEK"}}],"cbc:TaxExclusiveAmount":[{"_":"7197.52","$":{"currencyID":"SEK"}}],"cbc:TaxInclusiveAmount":[{"_":"8996.90","$":{"currencyID":"SEK"}}],"cbc:PayableRoundingAmount":[{"_":"0.10","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"8997.00","$":{"currencyID":"SEK"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"0"}],"cbc:Note":[{"_":"Delivery date: 2021-11-01"}],"cbc:InvoicedQuantity":[{"_":"0","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"PDF ZF"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"1"}],"cbc:Note":[{"_":"Delivery date: 2021-11-01"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"Onr: 21-100582 Objekt: Anm: ErRef"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:Note":[{"_":"11 Byggdagar 2021-10-15 - 2021-10-31\n Delivery date: 2021-10-15\n "}],"cbc:InvoicedQuantity":[{"_":"11.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"1409.98","$":{"currencyID":"SEK"}}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"false"}],"cbc:AllowanceChargeReason":[{"_":"Discount"}],"cbc:MultiplierFactorNumeric":[{"_":"66.00"}],"cbc:Amount":[{"_":"2737.02","$":{"currencyID":"SEK"}}],"cbc:BaseAmount":[{"_":"4147.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"PERS-VAGN, 6-MAN, EL/G/DU/TC"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"935144"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"377.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"3"}],"cbc:Note":[{"_":"11 Byggdagar 2021-10-15 - 2021-10-31\n Delivery date: 2021-10-15\n "}],"cbc:InvoicedQuantity":[{"_":"11.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"NYCKEL TILL BOD ALT LÅS"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"939901"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"4"}],"cbc:Note":[{"_":"17 Kalenderdagar 2021-10-15 - 2021-10-31\n Delivery date: 2021-10-15\n "}],"cbc:InvoicedQuantity":[{"_":"17.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"195.50","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"FÖRLÄNGN.KABEL, 16A, 21-25M"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"521625-20"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"11.50","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"5"}],"cbc:Note":[{"_":"Delivery date: 2021-11-01"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"Onr: 462007 Objekt: Anm"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"6"}],"cbc:Note":[{"_":"31 Kalenderdagar 2021-10-01 - 2021-10-31\n Delivery date: 2021-10-01\n "}],"cbc:InvoicedQuantity":[{"_":"31.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"3436.04","$":{"currencyID":"SEK"}}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"false"}],"cbc:AllowanceChargeReason":[{"_":"Discount"}],"cbc:MultiplierFactorNumeric":[{"_":"66.00"}],"cbc:Amount":[{"_":"6669.96","$":{"currencyID":"SEK"}}],"cbc:BaseAmount":[{"_":"10106.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"PERS-VAGN, 4/6MAN, EL/G/DU/TC OMT 4/6 -40D"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"935125"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"326.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"7"}],"cbc:Note":[{"_":"270 Kalenderdagar 2021-02-04 - 2021-10-31\n Delivery date: 2021-02-04\n "}],"cbc:InvoicedQuantity":[{"_":"270.0000","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"NYCKEL TILL BOD ALT LÅS"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"939901"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"8"}],"cbc:Note":[{"_":"Delivery date: 2021-05-29"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"TÖMNING/LADDNING BESTÄLLD 11/5"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"9"}],"cbc:Note":[{"_":"Delivery date: 2021-02-04"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"TÖMNING/LADDNING BESTÄLLD 29/6"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"10"}],"cbc:Note":[{"_":"Delivery date: 2021-02-04"}],"cbc:InvoicedQuantity":[{"_":"0.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"TÖMNING/LADDNING BESTÄLLD 28/9"}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"0.00","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"11"}],"cbc:Note":[{"_":"Delivery date: 2021-10-22"}],"cbc:InvoicedQuantity":[{"_":"1.00","$":{"unitCode":"EA"}}],"cbc:LineExtensionAmount":[{"_":"2156.00","$":{"currencyID":"SEK"}}],"cac:Item":[{"cbc:Name":[{"_":"SPOLPL"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"F19351060"}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"2156.00","$":{"currencyID":"SEK"}}]}]}]}},{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"666664"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}},{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"6666264"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
child attributes
Invoiceobject
child attributes
$object
child attributes
xmlns:cbcstring
xmlns:ccts-cctstring
xmlns:udtstring
xmlns:sdtstring
xmlns:cacstring
xmlns:cctsstring
xmlns:extstring
xmlns:dsstring
xmlnsstring
cbc:CustomizationIDarray
child attributes
cbc:ProfileIDarray
child attributes
cbc:IDarray
child attributes
cbc:IssueDatearray
child attributes
cbc:DueDatearray
child attributes
cbc:InvoiceTypeCodearray
child attributes
cbc:Notearray
child attributes
cbc:TaxPointDatearray
child attributes
cbc:DocumentCurrencyCodearray
child attributes
cbc:BuyerReferencearray
child attributes
cac:OrderReferencearray
child attributes
0object
child attributes
_string
cac:DespatchDocumentReferencearray
child attributes
0object
child attributes
_string
cac:AccountingSupplierPartyarray
child attributes
0object
child attributes
cbc:EndpointIDarray
child attributes
schemeIDstring
cac:PartyIdentificationarray
child attributes
0object
child attributes
_string
cac:PartyNamearray
child attributes
0object
child attributes
_string
cac:PostalAddressarray
child attributes
0object
child attributes
_string
cac:PartyTaxSchemearray
child attributes
0object
child attributes
_string
cac:PartyLegalEntityarray
child attributes
0object
child attributes
_string
cac:Contactarray
child attributes
0object
child attributes
_string
cac:AccountingCustomerPartyarray
child attributes
0object
child attributes
cbc:EndpointIDarray
child attributes
schemeIDstring
cac:PartyIdentificationarray
child attributes
0object
child attributes
_string
cac:PartyNamearray
child attributes
0object
child attributes
_string
cac:PostalAddressarray
child attributes
0object
child attributes
_string
cac:PartyLegalEntityarray
child attributes
0object
child attributes
_string
cac:Contactarray
child attributes
0object
child attributes
_string
cac:Deliveryarray
child attributes
0object
child attributes
_string
cac:PaymentMeansarray
child attributes
0object
child attributes
_string
cac:PaymentTermsarray
child attributes
0object
child attributes
_string
cac:TaxTotalarray
child attributes
0object
child attributes
_string
$object
child attributes
currencyIDstring
cac:LegalMonetaryTotalarray
child attributes
0object
child attributes
_string
$object
child attributes
currencyIDstring
cac:InvoiceLinearray
child attributes
0object
child attributes
_string
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
1

Post outgoing invoice

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

PATH PARAMETERS

accountRegNostring

BODY PARAMETERS

Invoiceobject
example
{"Invoice":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:ccts":"urn:un:unece:uncefact:documentation:2","xmlns:qdt":"urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2","xmlns:udt":"urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"},"cbc:UBLVersionID":[{"_":"2.0"}],"cbc:CustomizationID":[{"_":"urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0"}],"cbc:ProfileID":[{"_":"urn:www.cenbii.eu:profile:bii05:ver2.0"}],"cbc:ID":[{"_":"3222224131"}],"cbc:IssueDate":[{"_":"2019-05-31"}],"cbc:InvoiceTypeCode":[{"_":"380","$":{"listID":"UNCL1001"}}],"cbc:Note":[{"_":"A note saying something"}],"cbc:DocumentCurrencyCode":[{"_":"SEK","$":{"listID":"ISO4217"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:OrderReference":[{"cbc:ID":[{"_":"GEM601000"}]}],"cac:AdditionalDocumentReference":[{"cac:ID":[{"_":"AT-1"}],"cac:Attachment":[{"cac:EmbeddedDocumentBinaryObject":[{"_":"dmFsaWQgYmFzZTY0","$":{"filename":"An attached PDF.pdf","mimeCode":"application/pdf"}}]}]}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"5567112345","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"7300001234567","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Seller Company Inc."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Ormestagatan 2"}],"cbc:AdditionalStreetName":[{"_":"Box 123"}],"cbc:CityName":[{"_":"Örebro"}],"cbc:PostalZone":[{"_":"70283"}],"cbc:CountrySubentity":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE556711234501","$":{"schemeID":"SE:VAT"}}],"cbc:ExemptionReason":[{"_":"Godkänd för F-skatt"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Seller Company Inc."}],"cbc:CompanyID":[{"_":"2222222","$":{"schemeID":"SE:ORGNR"}}],"cac:RegistrationAddress":[{"cbc:CityName":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}]}],"cac:Contact":[{"cbc:Name":[{"_":"Kundtjänst"}],"cbc:Telephone":[{"_":"+4612345678"}],"cbc:ElectronicMail":[{"_":"order@company.com"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2120001234","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Another buyer"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"A street"}],"cbc:CityName":[{"_":"Mölndal"}],"cbc:PostalZone":[{"_":"431 82"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:VAT"}}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Another buyer"}],"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Contact me"}],"cbc:ElectronicMail":[{"_":"a@b.com"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"31","$":{"listID":"UNCL4461"}}],"cbc:PaymentDueDate":[{"_":"2019-07-30"}],"cbc:PaymentChannelCode":[{"_":"SE:BANKGIRO"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"12345678","$":{"schemeID":"LOCAL"}}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"30 dagar netto"}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]},{"cbc:TaxableAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"6"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxExclusiveAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxInclusiveAmount":[{"_":"197675","$":{"currencyID":"SEK"}}],"cbc:PayableRoundingAmount":[{"_":"-.24","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"197675","$":{"currencyID":"SEK"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"123"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"EA","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"983303-5-9"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"3"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"NY"}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]}]}}

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":{"message":"invoice 12335675 sent","invoice_id":"12335675"}}
dataobject
example
{"status":"success","data":{"message":"invoice 12335675 sent","invoice_id":"12335675"}}
child attributes
messagestring
order_idstring
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
409
Object

Response attributes

statusstring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
typestring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
datastring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
metadataobject
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
child attributes
debug_error_messagestring
debug_error_codeinteger
422
Object

Response attributes

statusstring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
typestring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
datastring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
metadataobject
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
child attributes
descriptionstring
detailsobject
1

Get outgoing invoices

The response, in JSON, will always include the three latest messages, per default. Using XML you always only get one (as there's no "array" function for XML).

Use limit parameter to change the number of returned messages and combine it with offset to traverse down the list, e.g: https://api-qa.qvalia.com/transaction/{accountRegNo}/invoices/outgoing?limit=10&offset=10

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Acceptstring

Account endpoints only support JSON

QUERY PARAMETERS

limitstring
includeReadstring
offsetstring
documentIdstring
fromstring
tostring
updatedAtFromstring
updatedAtTostring

PATH PARAMETERS

accountRegNostring

Responses

200
Object

Response attributes

statusstring
example
{"status":"success","data":[{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"6666555264"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
dataarray
example
{"status":"success","data":[{"Invoice":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"6666555264"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:DueDate":[{"_":"2017-12-01"}],"cbc:InvoiceTypeCode":[{"_":"380"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"4444"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"44444"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"4444"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"EL"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:InvoicedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:InvoicedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
1

Post outgoing invoices as batch

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

PATH PARAMETERS

accountRegNostring

BODY PARAMETERS
Expand all

Invoicesarray
example
{"Invoices":[{"Invoice":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:ccts":"urn:un:unece:uncefact:documentation:2","xmlns:qdt":"urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2","xmlns:udt":"urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"},"cbc:UBLVersionID":[{"_":"2.1"}],"cbc:CustomizationID":[{"_":"urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0"}],"cbc:ProfileID":[{"_":"urn:www.cenbii.eu:profile:bii05:ver2.0"}],"cbc:ID":[{"_":"3222232444434"}],"cbc:IssueDate":[{"_":"2019-05-31"}],"cbc:InvoiceTypeCode":[{"_":"380","$":{"listID":"UNCL1001"}}],"cbc:Note":[{"_":"A note saying something"}],"cbc:DocumentCurrencyCode":[{"_":"SEK","$":{"listID":"ISO4217"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:OrderReference":[{"cbc:ID":[{"_":"GEM601000"}]}],"cac:AdditionalDocumentReference":[{"cbc:ID":[{"_":"AT-1"}],"cac:Attachment":[{"cbc:EmbeddedDocumentBinaryObject":[{"_":"dmFsaWQgYmFzZTY0","$":{"filename":"attached.pdf","mimeCode":"application/pdf"}}]}]}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"5567112345","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"7300001234567","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Seller Company Inc."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Ormestagatan 2"}],"cbc:AdditionalStreetName":[{"_":"Box 123"}],"cbc:CityName":[{"_":"Örebro"}],"cbc:PostalZone":[{"_":"70283"}],"cbc:CountrySubentity":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE556711234501","$":{"schemeID":"SE:VAT"}}],"cbc:ExemptionReason":[{"_":"Godkänd för F-skatt"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Seller Company Inc."}],"cbc:CompanyID":[{"_":"2222222","$":{"schemeID":"SE:ORGNR"}}],"cac:RegistrationAddress":[{"cbc:CityName":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}]}],"cac:Contact":[{"cbc:Name":[{"_":"Kundtjänst"}],"cbc:Telephone":[{"_":"+4612345678"}],"cbc:ElectronicMail":[{"_":"order@company.com"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2120001234","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Another buyer"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"A street"}],"cbc:CityName":[{"_":"Mölndal"}],"cbc:PostalZone":[{"_":"431 82"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:VAT"}}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Another buyer"}],"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"A contact"}],"cbc:ElectronicMail":[{"_":"a@b.com"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"31","$":{"listID":"UNCL4461"}}],"cbc:PaymentDueDate":[{"_":"2019-07-30"}],"cbc:PaymentChannelCode":[{"_":"SE:BANKGIRO"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"12345678","$":{"schemeID":"LOCAL"}}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"30 dagar netto"}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]},{"cbc:TaxableAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"6"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxExclusiveAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxInclusiveAmount":[{"_":"197675","$":{"currencyID":"SEK"}}],"cbc:PayableRoundingAmount":[{"_":"-.24","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"197675","$":{"currencyID":"SEK"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"123"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"EA","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"983303-5-9"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"3"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"NY"}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]}]}},{"Invoice":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:ccts":"urn:un:unece:uncefact:documentation:2","xmlns:qdt":"urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2","xmlns:udt":"urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"},"cbc:UBLVersionID":[{"_":"2.1"}],"cbc:CustomizationID":[{"_":"urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0"}],"cbc:ProfileID":[{"_":"urn:www.cenbii.eu:profile:bii05:ver2.0"}],"cbc:ID":[{"_":"3222232444434"}],"cbc:IssueDate":[{"_":"2019-05-31"}],"cbc:InvoiceTypeCode":[{"_":"380","$":{"listID":"UNCL1001"}}],"cbc:Note":[{"_":"A note saying something"}],"cbc:DocumentCurrencyCode":[{"_":"SEK","$":{"listID":"ISO4217"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:OrderReference":[{"cbc:ID":[{"_":"GEM601000"}]}],"cac:AdditionalDocumentReference":[{"cbc:ID":[{"_":"AT-1"}],"cac:Attachment":[{"cbc:EmbeddedDocumentBinaryObject":[{"_":"dmFsaWQgYmFzZTY0","$":{"filename":"Attachment 1.pdf","mimeCode":"application/pdf"}}]}]}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"5567112345","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"7300001234567","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Seller Company Inc."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Ormestagatan 2"}],"cbc:AdditionalStreetName":[{"_":"Box 123"}],"cbc:CityName":[{"_":"Örebro"}],"cbc:PostalZone":[{"_":"70283"}],"cbc:CountrySubentity":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE556711234501","$":{"schemeID":"SE:VAT"}}],"cbc:ExemptionReason":[{"_":"Godkänd för F-skatt"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Seller Company Inc."}],"cbc:CompanyID":[{"_":"2222222","$":{"schemeID":"SE:ORGNR"}}],"cac:RegistrationAddress":[{"cbc:CityName":[{"_":"Örebro"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}]}],"cac:Contact":[{"cbc:Name":[{"_":"Kundtjänst"}],"cbc:Telephone":[{"_":"+4612345678"}],"cbc:ElectronicMail":[{"_":"order@company.com"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2120001234","$":{"schemeID":"GLN"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Another buyer"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"A street"}],"cbc:CityName":[{"_":"Mölndal"}],"cbc:PostalZone":[{"_":"431 82"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE","$":{"listID":"ISO3166-1:Alpha2"}}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:VAT"}}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Another buyer"}],"cbc:CompanyID":[{"_":"2120001234","$":{"schemeID":"SE:ORGNR"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"A contact"}],"cbc:ElectronicMail":[{"_":"a@b.com"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"31","$":{"listID":"UNCL4461"}}],"cbc:PaymentDueDate":[{"_":"2019-07-30"}],"cbc:PaymentChannelCode":[{"_":"SE:BANKGIRO"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"12345678","$":{"schemeID":"LOCAL"}}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"30 dagar netto"}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"0","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]},{"cbc:TaxableAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxAmount":[{"_":"11189.93","$":{"currencyID":"SEK"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S","$":{"schemeID":"UNCL5305"}}],"cbc:Percent":[{"_":"6"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxExclusiveAmount":[{"_":"186485.31","$":{"currencyID":"SEK"}}],"cbc:TaxInclusiveAmount":[{"_":"197675","$":{"currencyID":"SEK"}}],"cbc:PayableRoundingAmount":[{"_":"-.24","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"197675","$":{"currencyID":"SEK"}}]}],"cac:InvoiceLine":[{"cbc:ID":[{"_":"1"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"123"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"EA","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"ALLT"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"983303-5-9"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]},{"cbc:ID":[{"_":"3"}],"cbc:Note":[{"_":"A note"}],"cbc:InvoicedQuantity":[{"_":"1","$":{"unitCode":"NAR","unitCodeListID":"UNECERec20"}}],"cbc:LineExtensionAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}],"cbc:AccountingCost":[{"_":"GEM601000"}],"cac:Item":[{"cbc:Name":[{"_":"NY"}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"55101509","$":{"listID":"UNSPSC"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"6.00"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"85.14","$":{"currencyID":"SEK"}}]}]}]}}]}
child attributes
Invoiceobject

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":{"message":"invoices 11123456780 sent","invoice_ids":["11123456780"]}}
dataobject
example
{"status":"success","data":{"message":"invoices 11123456780 sent","invoice_ids":["11123456780"]}}
child attributes
messagestring
invoice_idsstring
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
409
Object

Response attributes

statusstring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
typestring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
datastring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
metadataobject
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
child attributes
debug_error_messagestring
debug_error_codeinteger
422
Object

Response attributes

statusstring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
typestring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
datastring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
metadataobject
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Invoice does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Invoice/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
child attributes
descriptionstring
detailsobject
1

Credit Note APIs

APIs related to credit note handing

Get incoming credit notes

The response, in JSON, will always include the three latest messages, per default. Using XML you always only get one (as there's no "array" function for XML).

Use limit parameter to change the number of returned messages and combine it with offset to traverse down the list, e.g: https://api-qa.qvalia.com/transaction/{accountRegNo}/creditNotes/incoming?limit=10&offset=10

To get new messages only, use the "Get incoming read creditnotes" endpoint instead.

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Acceptstring

Account endpoints only support JSON

QUERY PARAMETERS

limitstring
includeReadstring
offsetstring
documentIdstring
fromstring
tostring
updatedAtFromstring
updatedAtTostring

PATH PARAMETERS

accountRegNostring

Responses

200
Object

Response attributes

statusstring
example
{"status":"success","data":[{"CreditNote":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE132425"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE132425"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"partyLegalEntityCompanyId"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
dataarray
example
{"status":"success","data":[{"CreditNote":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE132425"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE132425"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"partyLegalEntityCompanyId"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
1

Post incoming credit note


HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

PATH PARAMETERS

accountRegNostring

BODY PARAMETERS

CreditNoteobject
example
{"CreditNote":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AdditionalDocumentReference":[{"cbc:ID":[{"_":"AT-1"}]}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE132425"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE132425"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"partyLegalEntityCompanyId"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":{"message":"credit note 12335675 sent","credit_note_id":"12335675"}}
dataobject
example
{"status":"success","data":{"message":"credit note 12335675 sent","credit_note_id":"12335675"}}
child attributes
messagestring
credit_note_idstring
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
409
Object

Response attributes

statusstring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
typestring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
datastring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
metadataobject
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
child attributes
debug_error_messagestring
debug_error_codeinteger
422
Object

Response attributes

statusstring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
typestring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
datastring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
metadataobject
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
child attributes
descriptionstring
detailsobject

Base URL

Language Box

1

Status Codes

200

OK

Everything worked as expected.

400

Bad request

The request was unacceptable, often due to missing a required parameter.

401

Unauthorized

The request was unacceptable, often due to missing a required parameter.

402

Request Failed

The parameters were valid but the request failed.

403

Forbidden

The API key doesnt have permissions to perform the request.

404

Not Found

The requested resource does not exist.

Get incoming read credit notes

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Acceptstring

Account endpoints only support JSON

QUERY PARAMETERS

limitstring
includeReadstring
offsetstring
documentIdstring
fromstring
tostring
updatedAtFromstring
updatedAtTostring

PATH PARAMETERS

accountRegNostring

Responses

200
Object

Response attributes

statusstring
example
{"status":"success","data":[{"CreditNote":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE132425"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE132425"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"partyLegalEntityCompanyId"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
dataarray
example
{"status":"success","data":[{"CreditNote":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE132425"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE132425"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"partyLegalEntityCompanyId"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
1

Post outgoing credit note

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

PATH PARAMETERS

accountRegNostring

BODY PARAMETERS

CreditNoteobject
example
{"CreditNote":{"$":{"xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AdditionalDocumentReference":[{"cbc:ID":[{"_":"AT-1"}]}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE132425"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE132425"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"partyLegalEntityCompanyId"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25.0"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":{"message":"credit note 12335675 sent","credit_note_id":"12335675"}}
dataobject
example
{"status":"success","data":{"message":"credit note 12335675 sent","credit_note_id":"12335675"}}
child attributes
messagestring
credit_note_idstring
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
409
Object

Response attributes

statusstring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
typestring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
datastring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
metadataobject
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
child attributes
debug_error_messagestring
debug_error_codeinteger
422
Object

Response attributes

statusstring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
typestring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
datastring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
metadataobject
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
child attributes
descriptionstring
detailsobject
1

Post outgoing credit notes as batch

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

PATH PARAMETERS

accountRegNostring

BODY PARAMETERS

CreditNotesarray
example
{"CreditNotes":[{"CreditNote":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"1"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE123123"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE123123"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"SE123123"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}},{"CreditNote":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"},"cbc:CustomizationID":[{"_":"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"}],"cbc:ID":[{"_":"2"}],"cbc:IssueDate":[{"_":"2017-11-13"}],"cbc:CreditNoteTypeCode":[{"_":"381"}],"cbc:DocumentCurrencyCode":[{"_":"EUR"}],"cbc:AccountingCost":[{"_":"4025:123:4343"}],"cbc:BuyerReference":[{"_":"0150abc"}],"cac:AccountingSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"9482348239847123","$":{"schemeID":"0088"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"SE123123"}]}],"cac:PartyName":[{"cbc:Name":[{"_":"SupplierTradingName Ltd."}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Main street 1"}],"cbc:AdditionalStreetName":[{"_":"Postbox 123"}],"cbc:CityName":[{"_":"London"}],"cbc:PostalZone":[{"_":"GB 123 EW"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"GB"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE123123"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"SupplierOfficialName Ltd"}],"cbc:CompanyID":[{"_":"SE123123"}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"FR23342","$":{"schemeID":"0002"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"FR23342","$":{"schemeID":"0002"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"BuyerTradingName AS"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Hovedgatan 32"}],"cbc:AdditionalStreetName":[{"_":"Po box 878"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"456 34"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyTaxScheme":[{"cbc:CompanyID":[{"_":"SE4598375937"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Official Name"}],"cbc:CompanyID":[{"_":"333666555","$":{"schemeID":"0183"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Lisa Johnson"}],"cbc:Telephone":[{"_":"23434234"}],"cbc:ElectronicMail":[{"_":"lj@buyer.se"}]}]}]}],"cac:Delivery":[{"cbc:ActualDeliveryDate":[{"_":"2017-11-01"}],"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3655555444411111","$":{"schemeID":"0088"}}],"cac:Address":[{"cbc:StreetName":[{"_":"Delivery street 2"}],"cbc:AdditionalStreetName":[{"_":"Building 56"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"21234"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:DeliveryParty":[{"cac:PartyName":[{"cbc:Name":[{"_":"Delivery party Name"}]}]}]}],"cac:PaymentMeans":[{"cbc:PaymentMeansCode":[{"_":"30","$":{"name":"Credit transfer"}}],"cbc:PaymentID":[{"_":"Snippet1"}],"cac:PayeeFinancialAccount":[{"cbc:ID":[{"_":"IBAN32423940"}],"cbc:Name":[{"_":"AccountName"}],"cac:FinancialInstitutionBranch":[{"cbc:ID":[{"_":"BIC324098"}]}]}]}],"cac:PaymentTerms":[{"cbc:Note":[{"_":"Payment within 10 days, 2% discount"}]}],"cac:AllowanceCharge":[{"cbc:ChargeIndicator":[{"_":"true"}],"cbc:AllowanceChargeReason":[{"_":"Insurance"}],"cbc:Amount":[{"_":"25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:TaxTotal":[{"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxSubtotal":[{"cbc:TaxableAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxAmount":[{"_":"331.25","$":{"currencyID":"EUR"}}],"cac:TaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}]}],"cac:LegalMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"1300","$":{"currencyID":"EUR"}}],"cbc:TaxExclusiveAmount":[{"_":"1325","$":{"currencyID":"EUR"}}],"cbc:TaxInclusiveAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}],"cbc:ChargeTotalAmount":[{"_":"25","$":{"currencyID":"EUR"}}],"cbc:PayableAmount":[{"_":"1656.25","$":{"currencyID":"EUR"}}]}],"cac:CreditNoteLine":[{"cbc:ID":[{"_":"1"}],"cbc:CreditedQuantity":[{"_":"7","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2800","$":{"currencyID":"EUR"}}],"cbc:AccountingCost":[{"_":"Konteringsstreng"}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description of item"}],"cbc:Name":[{"_":"item name"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"400","$":{"currencyID":"EUR"}}]}]},{"cbc:ID":[{"_":"2"}],"cbc:CreditedQuantity":[{"_":"-3","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"-1500","$":{"currencyID":"EUR"}}],"cac:OrderLineReference":[{"cbc:LineID":[{"_":"123"}]}],"cac:Item":[{"cbc:Description":[{"_":"Description 2"}],"cbc:Name":[{"_":"item name 2"}],"cac:StandardItemIdentification":[{"cbc:ID":[{"_":"21382183120983","$":{"schemeID":"0088"}}]}],"cac:OriginCountry":[{"cbc:IdentificationCode":[{"_":"NO"}]}],"cac:CommodityClassification":[{"cbc:ItemClassificationCode":[{"_":"09348023","$":{"listID":"SRV"}}]}],"cac:ClassifiedTaxCategory":[{"cbc:ID":[{"_":"S"}],"cbc:Percent":[{"_":"25"}],"cac:TaxScheme":[{"cbc:ID":[{"_":"VAT"}]}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"500","$":{"currencyID":"EUR"}}]}]}]}}]}

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":{"message":"credit notes 11123456780 sent","credit_note_ids":["11123456780"]}}
dataobject
example
{"status":"success","data":{"message":"credit notes 11123456780 sent","credit_note_ids":["11123456780"]}}
child attributes
messagestring
order_idsarray
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
409
Object

Response attributes

statusstring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
typestring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
datastring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
metadataobject
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
child attributes
debug_error_messagestring
debug_error_codeinteger
422
Object

Response attributes

statusstring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
typestring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
datastring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
metadataobject
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Credit note does not conform to UBL 2.1","details":{"json":[{"instancePath":"/CreditNote/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
child attributes
descriptionstring
detailsobject
1

Order APIs

APIs related to order handing

Get incoming orders

The response, in JSON, will always include the three latest messages, per default. Using XML you always only get one (as there's no "array" function for XML).

Use limit parameter to change the number of returned messages and combine it with offset to traverse down the list, e.g: https://api-qa.qvalia.com/transaction/{accountRegNo}/orders/incoming?limit=10&offset=10

To get new messages only, use the "readOrders" endpoint instead.

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Acceptstring

Account endpoints only support JSON

QUERY PARAMETERS

limitstring
includeReadstring
offsetstring
documentIdstring
fromstring
tostring
updatedAtFromstring
updatedAtTostring

PATH PARAMETERS

accountRegNostring

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":[{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-01-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"002"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-02-01"}],"cbc:EndDate":[{"_":"2021-02-28"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"003"}],"cbc:Quantity":[{"_":"21.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1995.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-03-01"}],"cbc:EndDate":[{"_":"2021-03-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"004"}],"cbc:Quantity":[{"_":"22.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2090.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-04-01"}],"cbc:EndDate":[{"_":"2021-04-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"005"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-05-01"}],"cbc:EndDate":[{"_":"2021-05-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"006"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-06-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]}]}},{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345670"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-01-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"002"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-02-01"}],"cbc:EndDate":[{"_":"2021-02-28"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"003"}],"cbc:Quantity":[{"_":"21.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1995.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-03-01"}],"cbc:EndDate":[{"_":"2021-03-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"004"}],"cbc:Quantity":[{"_":"22.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2090.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-04-01"}],"cbc:EndDate":[{"_":"2021-04-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"005"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-05-01"}],"cbc:EndDate":[{"_":"2021-05-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"006"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-06-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]}]}}]}
dataarray
example
{"status":"success","data":[{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-01-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"002"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-02-01"}],"cbc:EndDate":[{"_":"2021-02-28"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"003"}],"cbc:Quantity":[{"_":"21.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1995.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-03-01"}],"cbc:EndDate":[{"_":"2021-03-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"004"}],"cbc:Quantity":[{"_":"22.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2090.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-04-01"}],"cbc:EndDate":[{"_":"2021-04-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"005"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-05-01"}],"cbc:EndDate":[{"_":"2021-05-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"006"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-06-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]}]}},{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345670"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-01-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"002"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-02-01"}],"cbc:EndDate":[{"_":"2021-02-28"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"003"}],"cbc:Quantity":[{"_":"21.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1995.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-03-01"}],"cbc:EndDate":[{"_":"2021-03-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"004"}],"cbc:Quantity":[{"_":"22.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2090.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-04-01"}],"cbc:EndDate":[{"_":"2021-04-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"005"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-05-01"}],"cbc:EndDate":[{"_":"2021-05-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"006"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-06-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]}]}}]}
child attributes
$object
child attributes
xmlnsstring
xmlns:cacstring
xmlns:cbcstring
cbc:CustomizationIDarray
child attributes
cbc:ProfileIDarray
child attributes
cbc:IDarray
child attributes
cbc:IssueDatearray
child attributes
cbc:IssueTimearray
child attributes
cbc:Notearray
child attributes
cbc:DocumentCurrencyCodearray
child attributes
cbc:CustomerReferencearray
child attributes
cac:ValidityPeriodarray
child attributes
0object
child attributes
_string
cac:QuotationDocumentReferencearray
child attributes
0object
child attributes
_string
cac:AdditionalDocumentReferencearray
child attributes
0object
child attributes
_string
cac:Contractarray
child attributes
0object
child attributes
_string
cac:BuyerCustomerPartyarray
child attributes
0object
child attributes
cbc:EndpointIDarray
child attributes
schemeIDstring
cac:PartyIdentificationarray
child attributes
0object
child attributes
_string
$object
child attributes
schemeIDstring
cac:PartyNamearray
child attributes
0object
child attributes
_string
cac:PostalAddressarray
child attributes
0object
child attributes
_string
cac:PartyTaxSchemearray
child attributes
0object
child attributes
_string
cac:PartyLegalEntityarray
child attributes
0object
child attributes
_string
cac:Contactarray
child attributes
0object
child attributes
_string
cac:SellerSupplierPartyarray
child attributes
0object
child attributes
cbc:EndpointIDarray
child attributes
schemeIDstring
cac:PartyIdentificationarray
child attributes
0object
child attributes
_string
cac:PartyNamearray
child attributes
0object
child attributes
_string
cac:PostalAddressarray
child attributes
0object
child attributes
_string
cac:PartyLegalEntityarray
child attributes
0object
child attributes
_string
cac:Contactarray
child attributes
0object
child attributes
_string
cac:Deliveryarray
child attributes
0object
child attributes
cbc:IDarray
child attributes
cac:Addressarray
child attributes
0object
child attributes
_string
cac:DeliveryTermsarray
child attributes
0object
child attributes
_string
cac:PaymentTermsarray
child attributes
0object
child attributes
_string
cac:TaxTotalarray
child attributes
0object
child attributes
_string
$object
child attributes
currencyIDstring
cac:AnticipatedMonetaryTotalarray
child attributes
0object
child attributes
_string
$object
child attributes
currencyIDstring
cac:OrderLinearray
child attributes
0object
child attributes
_string
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
1

Post incoming order

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Content-Typestring

Account endpoints only support JSON

QUERY PARAMETERS

overwriteboolean

Overwrite the original message if it already exists with the same message identifier

PATH PARAMETERS

accountRegNostringRequired

BODY PARAMETERS

_Dstring

Document ABIE XML namespace string

_Sstring

Library ABIE XML namespace string (for ASBIEs)

_Bstring

BBIE XML namespace string

_Estring

Extension scaffolding XML namespace string

OrderarrayRequired

A document used to order goods and services.

minItems
1

Responses
Expand all

200
Object

Response attributes

statusstring
example
{"status":"success","data":{"message":"order 12335675 sent","order_id":"12335675"}}
dataobject
example
{"status":"success","data":{"message":"order 12335675 sent","order_id":"12335675"}}
child attributes
messagestring
order_idstring
401
Object

Response attributes

statusCodeinteger
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
errorstring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
messagestring
example
{"statusCode":401,"error":"Unauthorized","message":"Unauthorized"}
409
Object

Response attributes

statusstring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
typestring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
datastring
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
metadataobject
example
{"status":"error","type":"E_CONFLICT","data":"Conflicting payload","metadata":{"debug_error_message":"Conflicting payload","debug_error_code":409}}
child attributes
debug_error_messagestring
debug_error_codeinteger
422
Object

Response attributes

statusstring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Order does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Order/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
typestring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Order does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Order/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
datastring
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Order does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Order/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
metadataobject
example
{"status":"error","type":"E_VALIDATION","data":"Invalid payload","metadata":{"description":"Order does not conform to UBL 2.1","details":{"json":[{"instancePath":"/Order/0","schemaPath":"#/required","keyword":"required","params":{"missingProperty":"ID"},"message":"must have required property 'ID'"}]}}}
child attributes
descriptionstring
detailsobject
1

Get incoming read orders

HEADER PARAMETERS

Authorizationstring

Your Qvalia auth key

Acceptstring

Account endpoints only support JSON

QUERY PARAMETERS

limitstring
includeReadstring
offsetstring
documentIdstring
fromstring
tostring
updatedAtFromstring
updatedAtTostring

PATH PARAMETERS

accountRegNostring

Responses

200
Object

Response attributes

statusstring
example
{"status":"success","data":[{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-01-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"002"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-02-01"}],"cbc:EndDate":[{"_":"2021-02-28"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"003"}],"cbc:Quantity":[{"_":"21.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1995.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-03-01"}],"cbc:EndDate":[{"_":"2021-03-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"004"}],"cbc:Quantity":[{"_":"22.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2090.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-04-01"}],"cbc:EndDate":[{"_":"2021-04-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"005"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-05-01"}],"cbc:EndDate":[{"_":"2021-05-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"006"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-06-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]}]}},{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345670"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-01-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"002"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-02-01"}],"cbc:EndDate":[{"_":"2021-02-28"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"003"}],"cbc:Quantity":[{"_":"21.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1995.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-03-01"}],"cbc:EndDate":[{"_":"2021-03-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"004"}],"cbc:Quantity":[{"_":"22.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2090.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-04-01"}],"cbc:EndDate":[{"_":"2021-04-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"005"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-05-01"}],"cbc:EndDate":[{"_":"2021-05-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"006"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-06-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]}]}}]}
dataarray
example
{"status":"success","data":[{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345678"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-01-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"002"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-02-01"}],"cbc:EndDate":[{"_":"2021-02-28"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"003"}],"cbc:Quantity":[{"_":"21.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1995.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-03-01"}],"cbc:EndDate":[{"_":"2021-03-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"004"}],"cbc:Quantity":[{"_":"22.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"2090.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-04-01"}],"cbc:EndDate":[{"_":"2021-04-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"005"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-05-01"}],"cbc:EndDate":[{"_":"2021-05-31"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]},{"cac:LineItem":[{"cbc:ID":[{"_":"006"}],"cbc:Quantity":[{"_":"20.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1900.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-06-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}]}],"cac:Price":[{"cbc:PriceAmount":[{"_":"95.00","$":{"currencyID":"SEK"}}]}],"cac:Item":[{"cbc:Name":[{"_":"An item"}],"cac:SellersItemIdentification":[{"cbc:ID":[{"_":"166"}]}]}]}]}]}},{"Order":{"$":{"xmlns":"urn:oasis:names:specification:ubl:schema:xsd:Order-2","xmlns:cbc":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","xmlns:cac":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},"cbc:CustomizationID":[{"_":"urn:fdc:peppol.eu:poacc:trns:order:3"}],"cbc:ProfileID":[{"_":"urn:fdc:peppol.eu:poacc:bis:order_only:3"}],"cbc:ID":[{"_":"12345670"}],"cbc:IssueDate":[{"_":"2020-12-10"}],"cbc:DocumentCurrencyCode":[{"_":"SEK"}],"cac:ValidityPeriod":[{"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:OriginatorDocumentReference":[{"cbc:ID":[{"_":"5435235"}]}],"cac:Contract":[{"cbc:ID":[{"_":"AVT123"}]}],"cac:BuyerCustomerParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"2012345678","$":{"schemeID":"0007"}}],"cac:PartyIdentification":[{"cbc:ID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Buyer Company LTD"}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Gatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11399"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}],"cbc:CompanyID":[{"_":"2012345678","$":{"schemeID":"0007"}}]}],"cac:Contact":[{"cbc:Name":[{"_":"Christina Beställare"}],"cbc:ElectronicMail":[{"_":"christina.bestallare@company.com"}]}]}]}],"cac:SellerSupplierParty":[{"cac:Party":[{"cbc:EndpointID":[{"_":"14528798654","$":{"schemeID":"0007"}}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Leverantörsgatan 1"}],"cbc:AdditionalStreetName":[{"_":"11111"}],"cbc:CityName":[{"_":"Stockholm"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Leverantören AB"}],"cbc:CompanyID":[{"_":"14528798654","$":{"schemeID":"0007"}}]}]}]}],"cac:AccountingCustomerParty":[{"cac:Party":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PostalAddress":[{"cbc:StreetName":[{"_":"Skanningsgatan 1"}],"cbc:CityName":[{"_":"Stockholm"}],"cbc:PostalZone":[{"_":"11111"}],"cac:AddressLine":[{"cbc:Line":[{"_":"Huvudkontoret"}]}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}],"cac:PartyLegalEntity":[{"cbc:RegistrationName":[{"_":"Buyer Company LTD"}]}]}]}],"cac:Delivery":[{"cac:DeliveryLocation":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}],"cac:Address":[{"cbc:StreetName":[{"_":"The road 388"}],"cbc:CityName":[{"_":"Onsala"}],"cbc:PostalZone":[{"_":"43933"}],"cac:Country":[{"cbc:IdentificationCode":[{"_":"SE"}]}]}]}],"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_":"2021-01-01"}],"cbc:EndDate":[{"_":"2021-06-30"}]}],"cac:DeliveryParty":[{"cac:PartyIdentification":[{"cbc:ID":[{"_":"3412345678","$":{"schemeID":"0007"}}]}],"cac:PartyName":[{"cbc:Name":[{"_":"Filialen 1"}]}]}],"cac:Shipment":[{"cbc:ID":[{"_":"NA"}],"cac:TransportHandlingUnit":[{"cbc:ShippingMarks":[{"_":"Genomförandereferens_123"}]}]}]}],"cac:AnticipatedMonetaryTotal":[{"cbc:LineExtensionAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}],"cbc:PayableAmount":[{"_":"11590.00","$":{"currencyID":"SEK"}}]}],"cac:OrderLine":[{"cac:LineItem":[{"cbc:ID":[{"_":"001"}],"cbc:Quantity":[{"_":"19.00","$":{"unitCode":"DAY"}}],"cbc:LineExtensionAmount":[{"_":"1805.00","$":{"currencyID":"SEK"}}],"cac:Delivery":[{"cac:RequestedDeliveryPeriod":[{"cbc:StartDate":[{"_&qu