{
	"info": {
		"_postman_id": "767fb64b-ec5f-4ca6-8cd8-92c377053169",
		"name": "finaX XRechnung API",
		"description": "The finaX API allows developers to generate abd read XRechnung XML via REST. The API takes JSON structured data as an input and outputs the corresponding XML or JSON. It generates the latest valid, supported version of the XRechnung XML format.\n\nAuthorization works via API-Key which can be retrieved from [https://finax.dev](https://finax.dev)",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "7731359"
	},
	"item": [
		{
			"name": "Generate UBL XRechnung",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"invoice_number\": \"33445566\",\n  \"invoice_issue_date\": \"2019-08-24\",\n  \"invoice_type_code\": 380,\n  \"invoice_currency_code\": \"EUR\",\n  \"value_added_tax_point_date\": \"2019-08-24\",\n  \"buyer_reference\": \"abs1234\",\n  \"payment_terms\": \"#SKONTO#TAGE=14#PROZENT=2.25#\",\n  \"invoice_note\": [\n    {\n      \"invoice_note\": \"Please note our new phone number 33 44 55 66\",\n      \"invoice_note_subject_code\": \"INV\"\n    }\n  ],\n  \"seller\": {\n    \"name\": \"Full Formal Seller Name LTD.\",\n    \"trading_name\": \"Seller Business Name AS\",\n    \"vat_identifier\": \"DE-123\",\n    \"identifier\": [\n      {\n        \"scheme_identifier\": \"0094\",\n        \"value\": \"Full Formal Seller Name LTD.\"\n      }\n    ],\n    \"electronic_address\": {\n      \"value\": \"DE123456789\",\n      \"scheme_identifier\": \"9930\"\n    },\n    \"postal_address\": {\n      \"city\": \"Sun City\",\n      \"post_code\": \"12345\",\n      \"country_code\": \"AD\"\n    },\n    \"contact\": {\n      \"point\": \"Jens Jensen\",\n      \"telephone_number\": \"876 654 321\",\n      \"email_address\": \"jens.j@buyer.se\"\n    }\n  },\n  \"buyer\": {\n    \"name\": \"Buyer Full Name AS\",\n    \"identifier\": {\n      \"scheme_identifier\": \"0094\",\n      \"value\": \"SE8765456787\"\n    },\n    \"legal_registration_identifier\": {\n      \"scheme_identifier\": \"0094\",\n      \"value\": \"5560104525\"\n    },\n    \"vat_identifier\": \"SE8765456787\",\n    \"electronic_address\": {\n      \"value\": \"DE987654321\",\n      \"scheme_identifier\": \"9930\"\n    },\n    \"postal_address\": {\n      \"city\": \"Moon City\",\n      \"post_code\": \"12345\",\n      \"country_code\": \"AD\"\n    },\n    \"contact\": {\n      \"point\": \"Jens Jensen\",\n      \"telephone_number\": \"876 654 321\",\n      \"email_address\": \"jens.j@buyer.se\"\n    }\n  },\n  \"payment_instructions\": {\n    \"payment_means_type_code\": \"30\",\n    \"payment_means_text\": \"Credit transfer\",\n    \"remittance_information\": \"432948234234234\",\n    \"credit_transfer\": [\n      {\n        \"payment_account_identifier\": \"NO99991122222\",\n        \"payment_account_name\": \"Payment Account\",\n        \"payment_service_provider_identifier\": \"SSKMDEMMXXX\"\n      }\n    ]\n  },\n  \"document_totals\": {\n    \"sum_of_invoice_line_net_amount\": 2145,\n    \"sum_of_allowances_on_document_level\": 0,\n    \"sum_of_charges_on_document_level\": 0,\n    \"invoice_total_amount_without_vat\": 2145,\n    \"invoice_total_vat_amount\": 536.25,\n    \"invoice_total_vat_amount_in_accounting_currency\": 536.25,\n    \"invoice_total_amount_with_vat\": 2681.25,\n    \"paid_amount\": 1000,\n    \"rounding_amount\": 0,\n    \"amount_due_for_payment\": 1681.25\n  },\n  \"vat_breakdown\": [\n    {\n      \"vat_category_taxable_amount\": 2145,\n      \"vat_category_tax_amount\": 536.25,\n      \"vat_category_code\": \"S\",\n      \"vat_category_rate\": 25\n    }\n  ],\n  \"invoice_line\": [\n    {\n      \"invoice_line_identifier\": \"12\",\n      \"invoice_line_note\": \"New article number 12345\",\n      \"invoice_line_object_identifier\": {\n        \"scheme_identifier\": \"AAA\",\n        \"value\": \"AB1345\"\n      },\n      \"invoiced_quantity\": 100,\n      \"invoiced_quantity_unit_of_measure_code\": \"H87\",\n      \"invoice_line_net_amount\": 2145,\n      \"referenced_purchase_order_line_reference\": \"3\",\n      \"invoice_line_buyer_accounting_reference\": \"1287:65464\",\n      \"invoice_line_period\": {\n        \"invoice_line_period_start_date\": \"2019-08-24\",\n        \"invoice_line_period_end_date\": \"2019-08-24\"\n      },\n      \"invoice_line_allowances\": {\n        \"amount\": 200,\n        \"base_amount\": 1000,\n        \"percentage\": 20,\n        \"reason\": \"Discount\",\n        \"reason_code\": \"95\"\n      },\n      \"invoice_line_charges\": {\n        \"amount\": 200,\n        \"base_amount\": 1000,\n        \"percentage\": 20,\n        \"reason\": \"Overtime\",\n        \"reason_code\": \"ABD\"\n      },\n      \"price_details\": {\n        \"item_net_price\": 21.45,\n        \"item_price_discount\": 100,\n        \"item_gross_price\": 121.45,\n        \"item_price_base_quantity\": 1,\n        \"item_price_base_quantity_unit_of_measure_code\": \"H87\"\n      },\n      \"line_vat_information\": {\n        \"invoiced_item_vat_category_code\": \"S\",\n        \"invoiced_item_vat_rate\": 25\n      },\n      \"item_information\": {\n        \"name\": \"Item name\",\n        \"description\": \"Long description of the item on the invoice line\",\n        \"sellers_identifier\": \"9873242\",\n        \"buyers_identifier\": \"123455\",\n        \"standard_identifier\": {\n          \"scheme_identifier\": \"0002\",\n          \"value\": \"string\"\n        },\n        \"classification_identifier\": [\n          {\n            \"scheme_identifier\": \"AA\",\n            \"value\": \"string\"\n          }\n        ],\n        \"country_of_origin\": \"DE\",\n        \"item_attributes\": [\n          {\n            \"name\": \"Color\",\n            \"value\": \"Black\"\n          }\n        ]\n      }\n    }\n  ]\n}\n",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.finax.dev/v1/xml/ubl/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"xml",
						"ubl"
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "Generate CII XRechnung",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"invoice_number\": \"33445566\",\n  \"invoice_issue_date\": \"2019-08-24\",\n  \"invoice_type_code\": 380,\n  \"invoice_currency_code\": \"EUR\",\n  \"value_added_tax_point_date\": \"2019-08-24\",\n  \"buyer_reference\": \"abs1234\",\n  \"payment_terms\": \"#SKONTO#TAGE=14#PROZENT=2.25#\",\n  \"invoice_note\": [\n    {\n      \"invoice_note\": \"Please note our new phone number 33 44 55 66\",\n      \"invoice_note_subject_code\": \"INV\"\n    }\n  ],\n  \"seller\": {\n    \"name\": \"Full Formal Seller Name LTD.\",\n    \"trading_name\": \"Seller Business Name AS\",\n    \"vat_identifier\": \"DE-123\",\n    \"identifier\": [\n      {\n        \"scheme_identifier\": \"0094\",\n        \"value\": \"Full Formal Seller Name LTD.\"\n      }\n    ],\n    \"electronic_address\": {\n      \"value\": \"DE123456789\",\n      \"scheme_identifier\": \"9930\"\n    },\n    \"postal_address\": {\n      \"city\": \"Sun City\",\n      \"post_code\": \"12345\",\n      \"country_code\": \"AD\"\n    },\n    \"contact\": {\n      \"point\": \"Jens Jensen\",\n      \"telephone_number\": \"876 654 321\",\n      \"email_address\": \"jens.j@buyer.se\"\n    }\n  },\n  \"buyer\": {\n    \"name\": \"Buyer Full Name AS\",\n    \"identifier\": {\n      \"scheme_identifier\": \"0094\",\n      \"value\": \"SE8765456787\"\n    },\n    \"legal_registration_identifier\": {\n      \"scheme_identifier\": \"0094\",\n      \"value\": \"5560104525\"\n    },\n    \"vat_identifier\": \"SE8765456787\",\n    \"electronic_address\": {\n      \"value\": \"DE987654321\",\n      \"scheme_identifier\": \"9930\"\n    },\n    \"postal_address\": {\n      \"city\": \"Moon City\",\n      \"post_code\": \"12345\",\n      \"country_code\": \"AD\"\n    },\n    \"contact\": {\n      \"point\": \"Jens Jensen\",\n      \"telephone_number\": \"876 654 321\",\n      \"email_address\": \"jens.j@buyer.se\"\n    }\n  },\n  \"payment_instructions\": {\n    \"payment_means_type_code\": \"30\",\n    \"payment_means_text\": \"Credit transfer\",\n    \"remittance_information\": \"432948234234234\",\n    \"credit_transfer\": [\n      {\n        \"payment_account_identifier\": \"NO99991122222\",\n        \"payment_account_name\": \"Payment Account\",\n        \"payment_service_provider_identifier\": \"SSKMDEMMXXX\"\n      }\n    ]\n  },\n  \"document_totals\": {\n    \"sum_of_invoice_line_net_amount\": 2145,\n    \"sum_of_allowances_on_document_level\": 0,\n    \"sum_of_charges_on_document_level\": 0,\n    \"invoice_total_amount_without_vat\": 2145,\n    \"invoice_total_vat_amount\": 536.25,\n    \"invoice_total_vat_amount_in_accounting_currency\": 536.25,\n    \"invoice_total_amount_with_vat\": 2681.25,\n    \"paid_amount\": 1000,\n    \"rounding_amount\": 0,\n    \"amount_due_for_payment\": 1681.25\n  },\n  \"vat_breakdown\": [\n    {\n      \"vat_category_taxable_amount\": 2145,\n      \"vat_category_tax_amount\": 536.25,\n      \"vat_category_code\": \"S\",\n      \"vat_category_rate\": 25\n    }\n  ],\n  \"invoice_line\": [\n    {\n      \"invoice_line_identifier\": \"12\",\n      \"invoice_line_note\": \"New article number 12345\",\n      \"invoice_line_object_identifier\": {\n        \"scheme_identifier\": \"AAA\",\n        \"value\": \"AB1345\"\n      },\n      \"invoiced_quantity\": 100,\n      \"invoiced_quantity_unit_of_measure_code\": \"H87\",\n      \"invoice_line_net_amount\": 2145,\n      \"referenced_purchase_order_line_reference\": \"3\",\n      \"invoice_line_buyer_accounting_reference\": \"1287:65464\",\n      \"invoice_line_period\": {\n        \"invoice_line_period_start_date\": \"2019-08-24\",\n        \"invoice_line_period_end_date\": \"2019-08-24\"\n      },\n      \"invoice_line_allowances\": {\n        \"amount\": 200,\n        \"base_amount\": 1000,\n        \"percentage\": 20,\n        \"reason\": \"Discount\",\n        \"reason_code\": \"95\"\n      },\n      \"invoice_line_charges\": {\n        \"amount\": 200,\n        \"base_amount\": 1000,\n        \"percentage\": 20,\n        \"reason\": \"Overtime\",\n        \"reason_code\": \"ABD\"\n      },\n      \"price_details\": {\n        \"item_net_price\": 21.45,\n        \"item_price_discount\": 100,\n        \"item_gross_price\": 121.45,\n        \"item_price_base_quantity\": 1,\n        \"item_price_base_quantity_unit_of_measure_code\": \"H87\"\n      },\n      \"line_vat_information\": {\n        \"invoiced_item_vat_category_code\": \"S\",\n        \"invoiced_item_vat_rate\": 25\n      },\n      \"item_information\": {\n        \"name\": \"Item name\",\n        \"description\": \"Long description of the item on the invoice line\",\n        \"sellers_identifier\": \"9873242\",\n        \"buyers_identifier\": \"123455\",\n        \"standard_identifier\": {\n          \"scheme_identifier\": \"0002\",\n          \"value\": \"string\"\n        },\n        \"classification_identifier\": [\n          {\n            \"scheme_identifier\": \"AA\",\n            \"value\": \"string\"\n          }\n        ],\n        \"country_of_origin\": \"DE\",\n        \"item_attributes\": [\n          {\n            \"name\": \"Color\",\n            \"value\": \"Black\"\n          }\n        ]\n      }\n    }\n  ]\n}\n",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.finax.dev/v1/xml/cii/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"xml",
						"cii"
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "JSON from UBL",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "<ubl:Invoice xmlns:ubl=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>33445566</cbc:ID>\n    <cbc:IssueDate>2019-08-24</cbc:IssueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:Note>Please note our new phone number 33 44 55 66</cbc:Note>\n    <cbc:TaxPointDate>2019-08-24</cbc:TaxPointDate>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:BuyerReference>abs1234</cbc:BuyerReference>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"9930\">DE123456789</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0094\">Full Formal Seller Name LTD.</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Seller Business Name AS</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:CityName>Sun City</cbc:CityName>\n                <cbc:PostalZone>12345</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>AD</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>DE-123</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Full Formal Seller Name LTD.</cbc:RegistrationName>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:Name>Jens Jensen</cbc:Name>\n                <cbc:Telephone>876 654 321</cbc:Telephone>\n                <cbc:ElectronicMail>jens.j@buyer.se</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"9930\">DE987654321</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0094\">SE8765456787</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PostalAddress>\n                <cbc:CityName>Moon City</cbc:CityName>\n                <cbc:PostalZone>12345</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>AD</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>SE8765456787</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Buyer Full Name AS</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0094\">5560104525</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:Name>Jens Jensen</cbc:Name>\n                <cbc:Telephone>876 654 321</cbc:Telephone>\n                <cbc:ElectronicMail>jens.j@buyer.se</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>432948234234234</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>NO99991122222</cbc:ID>\n            <cbc:Name>Payment Account</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>SSKMDEMMXXX</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>#SKONTO#TAGE=14#PROZENT=2.25#\n</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:TaxTotal>\n        <cbc:TaxAmount currencyID=\"EUR\">536.25</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">2145</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">536.25</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>25</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">2145</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">2145</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">2681.25</cbc:TaxInclusiveAmount>\n        <cbc:AllowanceTotalAmount currencyID=\"EUR\">0</cbc:AllowanceTotalAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">0</cbc:ChargeTotalAmount>\n        <cbc:PrepaidAmount currencyID=\"EUR\">1000</cbc:PrepaidAmount>\n        <cbc:PayableRoundingAmount currencyID=\"EUR\">0</cbc:PayableRoundingAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1681.25</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n    <cac:InvoiceLine>\n        <cbc:ID>12</cbc:ID>\n        <cbc:Note>New article number 12345</cbc:Note>\n        <cbc:InvoicedQuantity unitCode=\"H87\">100</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">2145</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>1287:65464</cbc:AccountingCost>\n        <cac:InvoicePeriod>\n            <cbc:StartDate>2019-08-24</cbc:StartDate>\n            <cbc:EndDate>2019-08-24</cbc:EndDate>\n        </cac:InvoicePeriod>\n        <cac:OrderLineReference>\n            <cbc:LineID>3</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:DocumentReference>\n            <cbc:ID schemeID=\"AAA\">AB1345</cbc:ID>\n            <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>\n        </cac:DocumentReference>\n        <cac:AllowanceCharge>\n            <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n            <cbc:AllowanceChargeReasonCode>ABD</cbc:AllowanceChargeReasonCode>\n            <cbc:AllowanceChargeReason>Overtime</cbc:AllowanceChargeReason>\n            <cbc:MultiplierFactorNumeric>20</cbc:MultiplierFactorNumeric>\n            <cbc:Amount currencyID=\"EUR\">200</cbc:Amount>\n            <cbc:BaseAmount currencyID=\"EUR\">1000</cbc:BaseAmount>\n        </cac:AllowanceCharge>\n        <cac:AllowanceCharge>\n            <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n            <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>\n            <cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>\n            <cbc:MultiplierFactorNumeric>20</cbc:MultiplierFactorNumeric>\n            <cbc:Amount currencyID=\"EUR\">200</cbc:Amount>\n            <cbc:BaseAmount currencyID=\"EUR\">1000</cbc:BaseAmount>\n        </cac:AllowanceCharge>\n        <cac:Item>\n            <cbc:Description>Long description of the item on the invoice line</cbc:Description>\n            <cbc:Name>Item name</cbc:Name>\n            <cac:BuyersItemIdentification>\n                <cbc:ID>123455</cbc:ID>\n            </cac:BuyersItemIdentification>\n            <cac:SellersItemIdentification>\n                <cbc:ID>9873242</cbc:ID>\n            </cac:SellersItemIdentification>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0002\">string</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>DE</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"AA\">string</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>25</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n            <cac:AdditionalItemProperty>\n                <cbc:Name>Color</cbc:Name>\n                <cbc:Value>Black</cbc:Value>\n            </cac:AdditionalItemProperty>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">21.45</cbc:PriceAmount>\n            <cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity>\n            <cac:AllowanceCharge>\n                <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n                <cbc:Amount currencyID=\"EUR\">100</cbc:Amount>\n                <cbc:BaseAmount currencyID=\"EUR\">121.45</cbc:BaseAmount>\n            </cac:AllowanceCharge>\n        </cac:Price>\n    </cac:InvoiceLine>\n</ubl:Invoice>",
					"options": {
						"raw": {
							"language": "xml"
						}
					}
				},
				"url": {
					"raw": "https://api.finax.dev/v1/json/ubl/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"json",
						"ubl"
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "JSON from CII",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "<rsm:CrossIndustryInvoice xmlns:rsm=\"urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100\" xmlns:ram=\"urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100\" xmlns:udt=\"urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100\" xmlns:qdt=\"urn:un:unece:uncefact:data:standard:QualifiedDataType:100\">\n    <rsm:ExchangedDocumentContext>\n        <ram:BusinessProcessSpecifiedDocumentContextParameter>\n            <ram:ID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</ram:ID>\n        </ram:BusinessProcessSpecifiedDocumentContextParameter>\n        <ram:GuidelineSpecifiedDocumentContextParameter>\n            <ram:ID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</ram:ID>\n        </ram:GuidelineSpecifiedDocumentContextParameter>\n    </rsm:ExchangedDocumentContext>\n    <rsm:ExchangedDocument>\n        <ram:ID>33445566</ram:ID>\n        <ram:TypeCode>380</ram:TypeCode>\n        <ram:IssueDateTime>\n            <udt:DateTimeString format=\"102\">20190824</udt:DateTimeString>\n        </ram:IssueDateTime>\n        <ram:IncludedNote>\n            <ram:Content>Please note our new phone number 33 44 55 66</ram:Content>\n            <ram:SubjectCode>INV</ram:SubjectCode>\n        </ram:IncludedNote>\n    </rsm:ExchangedDocument>\n    <rsm:SupplyChainTradeTransaction>\n        <ram:IncludedSupplyChainTradeLineItem>\n            <ram:AssociatedDocumentLineDocument>\n                <ram:LineID>12</ram:LineID>\n                <ram:IncludedNote>\n                    <ram:Content>New article number 12345</ram:Content>\n                </ram:IncludedNote>\n            </ram:AssociatedDocumentLineDocument>\n            <ram:SpecifiedTradeProduct>\n                <ram:GlobalID schemeID=\"0002\">string</ram:GlobalID>\n                <ram:SellerAssignedID>9873242</ram:SellerAssignedID>\n                <ram:BuyerAssignedID>123455</ram:BuyerAssignedID>\n                <ram:Name>Item name</ram:Name>\n                <ram:Description>Long description of the item on the invoice line</ram:Description>\n                <ram:ApplicableProductCharacteristic>\n                    <ram:Description>Color</ram:Description>\n                    <ram:Value>Black</ram:Value>\n                </ram:ApplicableProductCharacteristic>\n                <ram:DesignatedProductClassification>\n                    <ram:ClassCode listID=\"AA\">string</ram:ClassCode>\n                </ram:DesignatedProductClassification>\n                <ram:OriginTradeCountry>\n                    <ram:ID>DE</ram:ID>\n                </ram:OriginTradeCountry>\n            </ram:SpecifiedTradeProduct>\n            <ram:SpecifiedLineTradeAgreement>\n                <ram:BuyerOrderReferencedDocument>\n                    <ram:LineID>3</ram:LineID>\n                </ram:BuyerOrderReferencedDocument>\n                <ram:GrossPriceProductTradePrice>\n                    <ram:ChargeAmount>121.45</ram:ChargeAmount>\n                    <ram:BasisQuantity unitCode=\"H87\">1</ram:BasisQuantity>\n                    <ram:AppliedTradeAllowanceCharge>\n                        <ram:ChargeIndicator>\n                            <udt:Indicator>false</udt:Indicator>\n                        </ram:ChargeIndicator>\n                        <ram:ActualAmount>100</ram:ActualAmount>\n                    </ram:AppliedTradeAllowanceCharge>\n                </ram:GrossPriceProductTradePrice>\n                <ram:NetPriceProductTradePrice>\n                    <ram:ChargeAmount>21.45</ram:ChargeAmount>\n                    <ram:BasisQuantity unitCode=\"H87\">1</ram:BasisQuantity>\n                </ram:NetPriceProductTradePrice>\n            </ram:SpecifiedLineTradeAgreement>\n            <ram:SpecifiedLineTradeDelivery>\n                <ram:BilledQuantity unitCode=\"H87\">100</ram:BilledQuantity>\n            </ram:SpecifiedLineTradeDelivery>\n            <ram:SpecifiedLineTradeSettlement>\n                <ram:ApplicableTradeTax>\n                    <ram:TypeCode>VAT</ram:TypeCode>\n                    <ram:CategoryCode>S</ram:CategoryCode>\n                    <ram:RateApplicablePercent>25</ram:RateApplicablePercent>\n                </ram:ApplicableTradeTax>\n                <ram:BillingSpecifiedPeriod>\n                    <ram:StartDateTime>\n                        <udt:DateTimeString format=\"102\">20190824</udt:DateTimeString>\n                    </ram:StartDateTime>\n                    <ram:EndDateTime>\n                        <udt:DateTimeString format=\"102\">20190824</udt:DateTimeString>\n                    </ram:EndDateTime>\n                </ram:BillingSpecifiedPeriod>\n                <ram:SpecifiedTradeAllowanceCharge>\n                    <ram:ChargeIndicator>\n                        <udt:Indicator>false</udt:Indicator>\n                    </ram:ChargeIndicator>\n                    <ram:CalculationPercent>20</ram:CalculationPercent>\n                    <ram:BasisAmount>1000</ram:BasisAmount>\n                    <ram:ActualAmount>200</ram:ActualAmount>\n                    <ram:ReasonCode>95</ram:ReasonCode>\n                    <ram:Reason>Discount</ram:Reason>\n                </ram:SpecifiedTradeAllowanceCharge>\n                <ram:SpecifiedTradeAllowanceCharge>\n                    <ram:ChargeIndicator>\n                        <udt:Indicator>true</udt:Indicator>\n                    </ram:ChargeIndicator>\n                    <ram:CalculationPercent>20</ram:CalculationPercent>\n                    <ram:BasisAmount>1000</ram:BasisAmount>\n                    <ram:ActualAmount>200</ram:ActualAmount>\n                    <ram:ReasonCode>ABD</ram:ReasonCode>\n                    <ram:Reason>Overtime</ram:Reason>\n                </ram:SpecifiedTradeAllowanceCharge>\n                <ram:SpecifiedTradeSettlementLineMonetarySummation>\n                    <ram:LineTotalAmount>2145</ram:LineTotalAmount>\n                </ram:SpecifiedTradeSettlementLineMonetarySummation>\n                <ram:AdditionalReferencedDocument>\n                    <ram:IssuerAssignedID schemeID=\"AAA\">AB1345</ram:IssuerAssignedID>\n                    <ram:TypeCode>916</ram:TypeCode>\n                </ram:AdditionalReferencedDocument>\n                <ram:ReceivableSpecifiedTradeAccountingAccount>\n                    <ram:ID>1287:65464</ram:ID>\n                </ram:ReceivableSpecifiedTradeAccountingAccount>\n            </ram:SpecifiedLineTradeSettlement>\n        </ram:IncludedSupplyChainTradeLineItem>\n        <ram:ApplicableHeaderTradeAgreement>\n            <ram:BuyerReference>abs1234</ram:BuyerReference>\n            <ram:SellerTradeParty>\n                <ram:GlobalID schemeID=\"0094\">Full Formal Seller Name LTD.</ram:GlobalID>\n                <ram:Name>Full Formal Seller Name LTD.</ram:Name>\n                <ram:DefinedTradeContact>\n                    <ram:PersonName>Jens Jensen</ram:PersonName>\n                    <ram:TelephoneUniversalCommunication>\n                        <ram:CompleteNumber>876 654 321</ram:CompleteNumber>\n                    </ram:TelephoneUniversalCommunication>\n                    <ram:EmailURIUniversalCommunication>\n                        <ram:URIID>jens.j@buyer.se</ram:URIID>\n                    </ram:EmailURIUniversalCommunication>\n                </ram:DefinedTradeContact>\n                <ram:PostalTradeAddress>\n                    <ram:PostcodeCode>12345</ram:PostcodeCode>\n                    <ram:CityName>Sun City</ram:CityName>\n                    <ram:CountryID>AD</ram:CountryID>\n                </ram:PostalTradeAddress>\n                <ram:URIUniversalCommunication>\n                    <ram:URIID schemeID=\"9930\">DE123456789</ram:URIID>\n                </ram:URIUniversalCommunication>\n                <ram:SpecifiedTaxRegistration>\n                    <ram:ID schemeID=\"VA\">DE-123</ram:ID>\n                </ram:SpecifiedTaxRegistration>\n            </ram:SellerTradeParty>\n            <ram:BuyerTradeParty>\n                <ram:ID schemeID=\"0094\">SE8765456787</ram:ID>\n                <ram:Name>Buyer Full Name AS</ram:Name>\n                <ram:SpecifiedLegalOrganization>\n                    <ram:ID schemeID=\"0094\">5560104525</ram:ID>\n                </ram:SpecifiedLegalOrganization>\n                <ram:DefinedTradeContact>\n                    <ram:PersonName>Jens Jensen</ram:PersonName>\n                    <ram:TelephoneUniversalCommunication>\n                        <ram:CompleteNumber>876 654 321</ram:CompleteNumber>\n                    </ram:TelephoneUniversalCommunication>\n                    <ram:EmailURIUniversalCommunication>\n                        <ram:URIID>jens.j@buyer.se</ram:URIID>\n                    </ram:EmailURIUniversalCommunication>\n                </ram:DefinedTradeContact>\n                <ram:PostalTradeAddress>\n                    <ram:PostcodeCode>12345</ram:PostcodeCode>\n                    <ram:CityName>Moon City</ram:CityName>\n                    <ram:CountryID>AD</ram:CountryID>\n                </ram:PostalTradeAddress>\n                <ram:URIUniversalCommunication>\n                    <ram:URIID schemeID=\"9930\">DE987654321</ram:URIID>\n                </ram:URIUniversalCommunication>\n                <ram:SpecifiedTaxRegistration>\n                    <ram:ID schemeID=\"VA\">SE8765456787</ram:ID>\n                </ram:SpecifiedTaxRegistration>\n            </ram:BuyerTradeParty>\n        </ram:ApplicableHeaderTradeAgreement>\n        <ram:ApplicableHeaderTradeDelivery/>\n        <ram:ApplicableHeaderTradeSettlement>\n            <ram:PaymentReference>432948234234234</ram:PaymentReference>\n            <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>\n            <ram:SpecifiedTradeSettlementPaymentMeans>\n                <ram:TypeCode>30</ram:TypeCode>\n                <ram:Information>Credit transfer</ram:Information>\n                <ram:PayeePartyCreditorFinancialAccount>\n                    <ram:IBANID>NO99991122222</ram:IBANID>\n                    <ram:AccountName>Payment Account</ram:AccountName>\n                </ram:PayeePartyCreditorFinancialAccount>\n                <ram:PayeeSpecifiedCreditorFinancialInstitution>\n                    <ram:BICID>SSKMDEMMXXX</ram:BICID>\n                </ram:PayeeSpecifiedCreditorFinancialInstitution>\n            </ram:SpecifiedTradeSettlementPaymentMeans>\n            <ram:ApplicableTradeTax>\n                <ram:CalculatedAmount>536.25</ram:CalculatedAmount>\n                <ram:TypeCode>VAT</ram:TypeCode>\n                <ram:BasisAmount>2145</ram:BasisAmount>\n                <ram:CategoryCode>S</ram:CategoryCode>\n                <ram:TaxPointDate>\n                    <udt:DateString format=\"102\">20190824</udt:DateString>\n                </ram:TaxPointDate>\n                <ram:RateApplicablePercent>25</ram:RateApplicablePercent>\n            </ram:ApplicableTradeTax>\n            <ram:SpecifiedTradePaymentTerms>\n                <ram:Description>#SKONTO#TAGE=14#PROZENT=2.25#\n</ram:Description>\n            </ram:SpecifiedTradePaymentTerms>\n            <ram:SpecifiedTradeSettlementHeaderMonetarySummation>\n                <ram:LineTotalAmount>2145</ram:LineTotalAmount>\n                <ram:ChargeTotalAmount>0</ram:ChargeTotalAmount>\n                <ram:AllowanceTotalAmount>0</ram:AllowanceTotalAmount>\n                <ram:TaxBasisTotalAmount>2145</ram:TaxBasisTotalAmount>\n                <ram:TaxTotalAmount currencyID=\"EUR\">536.25</ram:TaxTotalAmount>\n                <ram:RoundingAmount>0</ram:RoundingAmount>\n                <ram:GrandTotalAmount>2681.25</ram:GrandTotalAmount>\n                <ram:TotalPrepaidAmount>1000</ram:TotalPrepaidAmount>\n                <ram:DuePayableAmount>1681.25</ram:DuePayableAmount>\n            </ram:SpecifiedTradeSettlementHeaderMonetarySummation>\n        </ram:ApplicableHeaderTradeSettlement>\n    </rsm:SupplyChainTradeTransaction>\n</rsm:CrossIndustryInvoice>",
					"options": {
						"raw": {
							"language": "xml"
						}
					}
				},
				"url": {
					"raw": "https://api.finax.dev/v1/json/cii/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"json",
						"cii"
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "JSON from Zugferd PDF",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "file",
							"type": "file",
							"src": []
						}
					]
				},
				"url": {
					"raw": "https://api.finax.dev/v1/json/zugferd/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"json",
						"zugferd",
						""
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "Merge PDF/A and XML",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "pdf_file",
							"type": "file",
							"src": []
						},
						{
							"key": "xml_file",
							"type": "file",
							"src": []
						}
					]
				},
				"url": {
					"raw": "https://api.finax.dev/v1/pdf/merge/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"pdf",
						"merge",
						""
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "Generate PDF from JSON",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"invoice\": {\n        \"invoice_number\": \"33445566\",\n        \"invoice_issue_date\": \"2019-08-24\",\n        \"invoice_type_code\": 380,\n        \"invoice_currency_code\": \"EUR\",\n        \"value_added_tax_point_date\": \"2019-08-24\",\n        \"buyer_reference\": \"abs1234\",\n        \"payment_terms\": \"#SKONTO#TAGE=14#PROZENT=2.25#\",\n        \"invoice_note\": [\n            {\n                \"invoice_note\": \"Please note our new phone number 33 44 55 66\",\n                \"invoice_note_subject_code\": \"INV\"\n            }\n        ],\n        \"seller\": {\n            \"name\": \"Full Formal Seller Name LTD.\",\n            \"trading_name\": \"Seller Business Name AS\",\n            \"vat_identifier\": \"DE-123\",\n            \"identifier\": [\n                {\n                    \"scheme_identifier\": \"0094\",\n                    \"value\": \"Full Formal Seller Name LTD.\"\n                }\n            ],\n            \"electronic_address\": {\n                \"value\": \"DE123456789\",\n                \"scheme_identifier\": \"9930\"\n            },\n            \"postal_address\": {\n                \"city\": \"Sun City\",\n                \"post_code\": \"12345\",\n                \"country_code\": \"AD\"\n            },\n            \"contact\": {\n                \"point\": \"Jens Jensen\",\n                \"telephone_number\": \"876 654 321\",\n                \"email_address\": \"jens.j@buyer.se\"\n            }\n        },\n        \"buyer\": {\n            \"name\": \"Buyer Full Name AS\",\n            \"identifier\": {\n                \"scheme_identifier\": \"0094\",\n                \"value\": \"SE8765456787\"\n            },\n            \"legal_registration_identifier\": {\n                \"scheme_identifier\": \"0094\",\n                \"value\": \"5560104525\"\n            },\n            \"vat_identifier\": \"SE8765456787\",\n            \"electronic_address\": {\n                \"value\": \"DE987654321\",\n                \"scheme_identifier\": \"9930\"\n            },\n            \"postal_address\": {\n                \"city\": \"Moon City\",\n                \"post_code\": \"12345\",\n                \"country_code\": \"AD\"\n            },\n            \"contact\": {\n                \"point\": \"Jens Jensen\",\n                \"telephone_number\": \"876 654 321\",\n                \"email_address\": \"jens.j@buyer.se\"\n            }\n        },\n        \"payment_instructions\": {\n            \"payment_means_type_code\": \"30\",\n            \"payment_means_text\": \"Credit transfer\",\n            \"remittance_information\": \"432948234234234\",\n            \"credit_transfer\": [\n                {\n                    \"payment_account_identifier\": \"NO99991122222\",\n                    \"payment_account_name\": \"Payment Account\",\n                    \"payment_service_provider_identifier\": \"SSKMDEMMXXX\"\n                }\n            ]\n        },\n        \"document_totals\": {\n            \"sum_of_invoice_line_net_amount\": 2145,\n            \"sum_of_allowances_on_document_level\": 0,\n            \"sum_of_charges_on_document_level\": 0,\n            \"invoice_total_amount_without_vat\": 2145,\n            \"invoice_total_vat_amount\": 536.25,\n            \"invoice_total_vat_amount_in_accounting_currency\": 536.25,\n            \"invoice_total_amount_with_vat\": 2681.25,\n            \"paid_amount\": 1000,\n            \"rounding_amount\": 0,\n            \"amount_due_for_payment\": 1681.25\n        },\n        \"vat_breakdown\": [\n            {\n                \"vat_category_taxable_amount\": 2145,\n                \"vat_category_tax_amount\": 536.25,\n                \"vat_category_code\": \"S\",\n                \"vat_category_rate\": 25\n            }\n        ],\n        \"invoice_line\": [\n            {\n                \"invoice_line_identifier\": \"12\",\n                \"invoice_line_note\": \"New article number 12345\",\n                \"invoice_line_object_identifier\": {\n                    \"scheme_identifier\": \"AAA\",\n                    \"value\": \"AB1345\"\n                },\n                \"invoiced_quantity\": 100,\n                \"invoiced_quantity_unit_of_measure_code\": \"H87\",\n                \"invoice_line_net_amount\": 2145,\n                \"referenced_purchase_order_line_reference\": \"3\",\n                \"invoice_line_buyer_accounting_reference\": \"1287:65464\",\n                \"invoice_line_period\": {\n                    \"invoice_line_period_start_date\": \"2019-08-24\",\n                    \"invoice_line_period_end_date\": \"2019-08-24\"\n                },\n                \"invoice_line_allowances\": {\n                    \"amount\": 200,\n                    \"base_amount\": 1000,\n                    \"percentage\": 20,\n                    \"reason\": \"Discount\",\n                    \"reason_code\": \"95\"\n                },\n                \"invoice_line_charges\": {\n                    \"amount\": 200,\n                    \"base_amount\": 1000,\n                    \"percentage\": 20,\n                    \"reason\": \"Overtime\",\n                    \"reason_code\": \"ABD\"\n                },\n                \"price_details\": {\n                    \"item_net_price\": 21.45,\n                    \"item_price_discount\": 100,\n                    \"item_gross_price\": 121.45,\n                    \"item_price_base_quantity\": 1,\n                    \"item_price_base_quantity_unit_of_measure_code\": \"H87\"\n                },\n                \"line_vat_information\": {\n                    \"invoiced_item_vat_category_code\": \"S\",\n                    \"invoiced_item_vat_rate\": 25\n                },\n                \"item_information\": {\n                    \"name\": \"Item name\",\n                    \"description\": \"Long description of the item on the invoice line\",\n                    \"sellers_identifier\": \"9873242\",\n                    \"buyers_identifier\": \"123455\",\n                    \"standard_identifier\": {\n                        \"scheme_identifier\": \"0002\",\n                        \"value\": \"string\"\n                    },\n                    \"classification_identifier\": [\n                        {\n                            \"scheme_identifier\": \"AA\",\n                            \"value\": \"string\"\n                        }\n                    ],\n                    \"country_of_origin\": \"DE\",\n                    \"item_attributes\": [\n                        {\n                            \"name\": \"Color\",\n                            \"value\": \"Black\"\n                        }\n                    ]\n                }\n            }\n        ]\n    },\n    \"config\": {\n        \"intro_text\": \"Sehr geehrte Damen und Herren,\\n\\nIch bedanke mich für die gute Zusammenarbeit stelle Ihnen vereinbarungsgemäß folgende Leistungen in Rechnung.\",\n        \"outro_text\": \"Bitte überweisen Sie den Rechnungsbetrag ohne Abzüge auf das angegebene Bankkonto.\",\n        \"file_name\": \"invoice.pdf\"\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.finax.dev/v1/pdf/json/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"pdf",
						"json"
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "Generate PDF from UBL XML",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"xml\": \"<ubl:Invoice xmlns:ubl='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2' xmlns:cbc='urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2' xmlns:cac='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'>    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>    <cbc:ID>1234567</cbc:ID>    <cbc:IssueDate>2018-04-13</cbc:IssueDate>    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>    <cbc:Note>Invoice Note Description</cbc:Note>    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>    <cbc:BuyerReference>90000000-03083-12</cbc:BuyerReference>    <cac:InvoicePeriod>        <cbc:StartDate>2018-04-13</cbc:StartDate>        <cbc:EndDate>2018-04-13</cbc:EndDate>    </cac:InvoicePeriod>    <cac:OrderReference>        <cbc:ID>65002278</cbc:ID>        <cbc:SalesOrderID>ABC123456789</cbc:SalesOrderID>    </cac:OrderReference>    <cac:OriginatorDocumentReference>        <cbc:ID>ANG987654321</cbc:ID>    </cac:OriginatorDocumentReference>    <cac:AccountingSupplierParty>        <cac:Party>            <cbc:EndpointID schemeID='EM'>rechnungsausgang@test.com</cbc:EndpointID>            <cac:PartyIdentification>                <cbc:ID schemeID='0013'>987654321</cbc:ID>            </cac:PartyIdentification>            <cac:PartyName>                <cbc:Name>[Seller name]</cbc:Name>            </cac:PartyName>            <cac:PostalAddress>                <cbc:StreetName>[Seller address line 1]</cbc:StreetName>                <cbc:AdditionalStreetName>[Seller address line 2]</cbc:AdditionalStreetName>                <cbc:CityName>[Seller city]</cbc:CityName>                <cbc:PostalZone>12345</cbc:PostalZone>                <cac:Country>                    <cbc:IdentificationCode>DE</cbc:IdentificationCode>                </cac:Country>            </cac:PostalAddress>            <cac:PartyTaxScheme>                <cac:TaxScheme>                    <cbc:ID>FC</cbc:ID>                </cac:TaxScheme>            </cac:PartyTaxScheme>            <cac:PartyLegalEntity>                <cbc:RegistrationName>[Seller trading name]</cbc:RegistrationName>                <cbc:CompanyID schemeID='0198'>123456789</cbc:CompanyID>                <cbc:CompanyLegalForm>Amtsgericht [&#8230;], Gesch&#228;ftsf&#252;hrer: [&#8230;], Sitz der Gesellschaft [&#8230;],          Aufsichtsratvorsitzender: [&#8230;]</cbc:CompanyLegalForm>            </cac:PartyLegalEntity>            <cac:Contact>                <cbc:Name>Tim Tester</cbc:Name>                <cbc:Telephone>012 3456789</cbc:Telephone>                <cbc:ElectronicMail>tim.tester@test.com</cbc:ElectronicMail>            </cac:Contact>        </cac:Party>    </cac:AccountingSupplierParty>    <cac:AccountingCustomerParty>        <cac:Party>            <cbc:EndpointID schemeID='EM'>rechnungseingang@test.de</cbc:EndpointID>            <cac:PartyIdentification>                <cbc:ID>138</cbc:ID>            </cac:PartyIdentification>            <cac:PartyName>                <cbc:Name>[Buyer name]</cbc:Name>            </cac:PartyName>            <cac:PostalAddress>                <cbc:StreetName>[Buyer address line 1]</cbc:StreetName>                <cbc:AdditionalStreetName>[Buyer address line 2]</cbc:AdditionalStreetName>                <cbc:CityName>[Buyer city]</cbc:CityName>                <cbc:PostalZone>98765</cbc:PostalZone>                <cac:AddressLine>                    <cbc:Line>[Buyer address line 3]</cbc:Line>                </cac:AddressLine>                <cac:Country>                    <cbc:IdentificationCode>DE</cbc:IdentificationCode>                </cac:Country>            </cac:PostalAddress>            <cac:PartyTaxScheme>                <cbc:CompanyID>DE12345ABC</cbc:CompanyID>                <cac:TaxScheme>                    <cbc:ID>VAT</cbc:ID>                </cac:TaxScheme>            </cac:PartyTaxScheme>            <cac:PartyLegalEntity>                <cbc:RegistrationName>[Buyer name]</cbc:RegistrationName>                <cbc:CompanyID schemeID='0198'>90000000-03083-12</cbc:CompanyID>            </cac:PartyLegalEntity>            <cac:Contact>                <cbc:Name>Tina Tester</cbc:Name>                <cbc:Telephone>0800 123456</cbc:Telephone>                <cbc:ElectronicMail>tester@test.de</cbc:ElectronicMail>            </cac:Contact>        </cac:Party>    </cac:AccountingCustomerParty>    <cac:PayeeParty>        <cac:PartyIdentification>            <cbc:ID>74</cbc:ID>        </cac:PartyIdentification>        <cac:PartyName>            <cbc:Name>[Payee name]</cbc:Name>        </cac:PartyName>    </cac:PayeeParty>    <cac:TaxRepresentativeParty>        <cac:PartyName>            <cbc:Name>[Seller tax representative name]</cbc:Name>        </cac:PartyName>        <cac:PostalAddress>            <cac:Country>                <cbc:IdentificationCode>DE</cbc:IdentificationCode>            </cac:Country>        </cac:PostalAddress>        <cac:PartyTaxScheme>            <cbc:CompanyID>DE124567</cbc:CompanyID>            <cac:TaxScheme>                <cbc:ID>VAT</cbc:ID>            </cac:TaxScheme>        </cac:PartyTaxScheme>    </cac:TaxRepresentativeParty>    <cac:Delivery>        <cbc:ActualDeliveryDate>2018-04-13</cbc:ActualDeliveryDate>        <cac:DeliveryLocation>            <cbc:ID>68</cbc:ID>            <cac:Address>                <cbc:StreetName>[Deliver to street]</cbc:StreetName>                <cbc:AdditionalStreetName>4. OG</cbc:AdditionalStreetName>                <cbc:CityName>[Deliver to city]</cbc:CityName>                <cbc:PostalZone>98765</cbc:PostalZone>                <cbc:CountrySubentity>Bayern</cbc:CountrySubentity>                <cac:Country>                    <cbc:IdentificationCode>DE</cbc:IdentificationCode>                </cac:Country>            </cac:Address>        </cac:DeliveryLocation>        <cac:DeliveryParty>            <cac:PartyName>                <cbc:Name>[Deliver to party name]</cbc:Name>            </cac:PartyName>        </cac:DeliveryParty>    </cac:Delivery>    <cac:PaymentMeans>        <cbc:PaymentMeansCode>58</cbc:PaymentMeansCode>        <cbc:PaymentID>Deb. 12345 / Fact. 9876543</cbc:PaymentID>        <cac:PayeeFinancialAccount>            <cbc:ID>DE75512108001245126199</cbc:ID>            <cbc:Name>[Payment account name]</cbc:Name>            <cac:FinancialInstitutionBranch>                <cbc:ID>[BIC]</cbc:ID>            </cac:FinancialInstitutionBranch>        </cac:PayeeFinancialAccount>    </cac:PaymentMeans>    <cac:PaymentTerms>        <cbc:Note>Bitte &#252;berweisen Sie bis zum 24.01.2015 auf das unten aufgef&#252;hrte Konto.</cbc:Note>    </cac:PaymentTerms>    <cac:AllowanceCharge>        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>        <cbc:AllowanceChargeReasonCode>102</cbc:AllowanceChargeReasonCode>        <cbc:AllowanceChargeReason>Fixed long term</cbc:AllowanceChargeReason>        <cbc:MultiplierFactorNumeric>0</cbc:MultiplierFactorNumeric>        <cbc:Amount currencyID='EUR'>0</cbc:Amount>        <cbc:BaseAmount currencyID='EUR'>0</cbc:BaseAmount>        <cac:TaxCategory>            <cbc:ID>S</cbc:ID>            <cbc:Percent>19</cbc:Percent>            <cac:TaxScheme>                <cbc:ID>VAT</cbc:ID>            </cac:TaxScheme>        </cac:TaxCategory>    </cac:AllowanceCharge>    <cac:TaxTotal>        <cbc:TaxAmount currencyID='EUR'>2048.44</cbc:TaxAmount>        <cac:TaxSubtotal>            <cbc:TaxableAmount currencyID='EUR'>10781.25</cbc:TaxableAmount>            <cbc:TaxAmount currencyID='EUR'>2048.44</cbc:TaxAmount>            <cac:TaxCategory>                <cbc:ID>S</cbc:ID>                <cbc:Percent>19</cbc:Percent>                <cac:TaxScheme>                    <cbc:ID>VAT</cbc:ID>                </cac:TaxScheme>            </cac:TaxCategory>        </cac:TaxSubtotal>    </cac:TaxTotal>    <cac:LegalMonetaryTotal>        <cbc:LineExtensionAmount currencyID='EUR'>10781.25</cbc:LineExtensionAmount>        <cbc:TaxExclusiveAmount currencyID='EUR'>10781.25</cbc:TaxExclusiveAmount>        <cbc:TaxInclusiveAmount currencyID='EUR'>12829.69</cbc:TaxInclusiveAmount>        <cbc:AllowanceTotalAmount currencyID='EUR'>0</cbc:AllowanceTotalAmount>        <cbc:ChargeTotalAmount currencyID='EUR'>0</cbc:ChargeTotalAmount>        <cbc:PrepaidAmount currencyID='EUR'>0</cbc:PrepaidAmount>        <cbc:PayableRoundingAmount currencyID='EUR'>0</cbc:PayableRoundingAmount>        <cbc:PayableAmount currencyID='EUR'>12829.69</cbc:PayableAmount>    </cac:LegalMonetaryTotal>    <cac:InvoiceLine>        <cbc:ID>1</cbc:ID>        <cbc:Note>Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016      Lieferung erfolgt / erfolgte direkt vom Verlag</cbc:Note>        <cbc:InvoicedQuantity unitCode='Packung'>30</cbc:InvoicedQuantity>        <cbc:LineExtensionAmount currencyID='EUR'>4743.75</cbc:LineExtensionAmount>        <cac:InvoicePeriod>            <cbc:StartDate>2018-04-13</cbc:StartDate>            <cbc:EndDate>2018-04-13</cbc:EndDate>        </cac:InvoicePeriod>        <cac:OrderLineReference>            <cbc:LineID>6171175.1</cbc:LineID>        </cac:OrderLineReference>        <cac:Item>            <cbc:Description>Anforderungmanagament</cbc:Description>            <cbc:Name>Beratung</cbc:Name>            <cac:SellersItemIdentification>                <cbc:ID>1034</cbc:ID>            </cac:SellersItemIdentification>            <cac:CommodityClassification>                <cbc:ItemClassificationCode listID='IB'>0721-880X</cbc:ItemClassificationCode>            </cac:CommodityClassification>            <cac:ClassifiedTaxCategory>                <cbc:ID>S</cbc:ID>                <cbc:Percent>19</cbc:Percent>                <cac:TaxScheme>                    <cbc:ID>VAT</cbc:ID>                </cac:TaxScheme>            </cac:ClassifiedTaxCategory>        </cac:Item>        <cac:Price>            <cbc:PriceAmount currencyID='EUR'>158.125</cbc:PriceAmount>        </cac:Price>    </cac:InvoiceLine>    <cac:InvoiceLine>        <cbc:ID>2</cbc:ID>        <cbc:InvoicedQuantity unitCode='XPP'>42</cbc:InvoicedQuantity>        <cbc:LineExtensionAmount currencyID='EUR'>6037.5</cbc:LineExtensionAmount>        <cac:Item>            <cbc:Name>Beratung</cbc:Name>            <cac:ClassifiedTaxCategory>                <cbc:ID>S</cbc:ID>                <cbc:Percent>19</cbc:Percent>                <cac:TaxScheme>                    <cbc:ID>VAT</cbc:ID>                </cac:TaxScheme>            </cac:ClassifiedTaxCategory>        </cac:Item>        <cac:Price>            <cbc:PriceAmount currencyID='EUR'>143.75</cbc:PriceAmount>        </cac:Price>    </cac:InvoiceLine></ubl:Invoice>\",\n    \"config\": {\n        \"intro_text\": \"Sehr geehrte Damen und Herren,\\n\\nIch bedanke mich für die gute Zusammenarbeit stelle Ihnen vereinbarungsgemäß folgende Leistungen in Rechnung.\",\n        \"outro_text\": \"Bitte überweisen Sie den Rechnungsbetrag ohne Abzüge auf das angegebene Bankkonto.\",\n        \"file_name\": \"invoice.pdf\"\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.finax.dev/v1/pdf/ubl/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"pdf",
						"ubl"
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		},
		{
			"name": "Generate PDF from CII XML",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-API-KEY",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"xml\": \"<rsm:CrossIndustryInvoice xmlns:rsm='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100' xmlns:ram='urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' xmlns:udt='urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100' xmlns:qdt='urn:un:unece:uncefact:data:standard:QualifiedDataType:100'>    <rsm:ExchangedDocumentContext>        <ram:BusinessProcessSpecifiedDocumentContextParameter>            <ram:ID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</ram:ID>        </ram:BusinessProcessSpecifiedDocumentContextParameter>        <ram:GuidelineSpecifiedDocumentContextParameter>            <ram:ID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</ram:ID>        </ram:GuidelineSpecifiedDocumentContextParameter>    </rsm:ExchangedDocumentContext>    <rsm:ExchangedDocument>        <ram:ID>33445566</ram:ID>        <ram:TypeCode>380</ram:TypeCode>        <ram:IssueDateTime>            <udt:DateTimeString format='102'>20190824</udt:DateTimeString>        </ram:IssueDateTime>    </rsm:ExchangedDocument>    <rsm:SupplyChainTradeTransaction>        <ram:IncludedSupplyChainTradeLineItem>            <ram:AssociatedDocumentLineDocument>                <ram:LineID>12</ram:LineID>            </ram:AssociatedDocumentLineDocument>            <ram:SpecifiedTradeProduct>                <ram:Name>Item name</ram:Name>            </ram:SpecifiedTradeProduct>            <ram:SpecifiedLineTradeAgreement>                <ram:GrossPriceProductTradePrice>                    <ram:ChargeAmount>121.45</ram:ChargeAmount>                    <ram:AppliedTradeAllowanceCharge>                        <ram:ChargeIndicator>                            <udt:Indicator>false</udt:Indicator>                        </ram:ChargeIndicator>                        <ram:ActualAmount>100</ram:ActualAmount>                    </ram:AppliedTradeAllowanceCharge>                </ram:GrossPriceProductTradePrice>                <ram:NetPriceProductTradePrice>                    <ram:ChargeAmount>21.45</ram:ChargeAmount>                </ram:NetPriceProductTradePrice>            </ram:SpecifiedLineTradeAgreement>            <ram:SpecifiedLineTradeDelivery>                <ram:BilledQuantity unitCode='H87'>100</ram:BilledQuantity>            </ram:SpecifiedLineTradeDelivery>            <ram:SpecifiedLineTradeSettlement>                <ram:ApplicableTradeTax>                    <ram:TypeCode>VAT</ram:TypeCode>                    <ram:CategoryCode>S</ram:CategoryCode>                    <ram:RateApplicablePercent>25</ram:RateApplicablePercent>                </ram:ApplicableTradeTax>                <ram:SpecifiedTradeSettlementLineMonetarySummation>                    <ram:LineTotalAmount>2145</ram:LineTotalAmount>                </ram:SpecifiedTradeSettlementLineMonetarySummation>            </ram:SpecifiedLineTradeSettlement>        </ram:IncludedSupplyChainTradeLineItem>        <ram:ApplicableHeaderTradeAgreement>            <ram:BuyerReference>abs1234</ram:BuyerReference>            <ram:SellerTradeParty>                <ram:GlobalID schemeID='0094'>Full Formal Seller Name LTD.</ram:GlobalID>                <ram:Name>Full11 Formal Seller Name LTD.</ram:Name>                <ram:DefinedTradeContact>                    <ram:PersonName>Jens Jensen</ram:PersonName>                    <ram:TelephoneUniversalCommunication>                        <ram:CompleteNumber>876 654 321</ram:CompleteNumber>                    </ram:TelephoneUniversalCommunication>                    <ram:EmailURIUniversalCommunication>                        <ram:URIID>jens.j@buyer.se</ram:URIID>                    </ram:EmailURIUniversalCommunication>                </ram:DefinedTradeContact>                <ram:PostalTradeAddress>                    <ram:PostcodeCode>12345</ram:PostcodeCode>                    <ram:CityName>Sun City</ram:CityName>                    <ram:CountryID>AD</ram:CountryID>                </ram:PostalTradeAddress>                <ram:URIUniversalCommunication>                    <ram:URIID schemeID='9930'>DE123456789</ram:URIID>                </ram:URIUniversalCommunication>                <ram:SpecifiedTaxRegistration>                    <ram:ID schemeID='VA'>DE-123</ram:ID>                </ram:SpecifiedTaxRegistration>            </ram:SellerTradeParty>            <ram:BuyerTradeParty>                <ram:Name>Buyer Full Name AS</ram:Name>                <ram:PostalTradeAddress>                    <ram:PostcodeCode>12345</ram:PostcodeCode>                    <ram:CityName>Moon City</ram:CityName>                    <ram:CountryID>AD</ram:CountryID>                </ram:PostalTradeAddress>                <ram:URIUniversalCommunication>                    <ram:URIID schemeID='9930'>DE987654321</ram:URIID>                </ram:URIUniversalCommunication>            </ram:BuyerTradeParty>        </ram:ApplicableHeaderTradeAgreement>        <ram:ApplicableHeaderTradeDelivery/>        <ram:ApplicableHeaderTradeSettlement>            <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>            <ram:SpecifiedTradeSettlementPaymentMeans>                <ram:TypeCode>30</ram:TypeCode>                <ram:PayeePartyCreditorFinancialAccount>                    <ram:IBANID>NO99991122222</ram:IBANID>                </ram:PayeePartyCreditorFinancialAccount>            </ram:SpecifiedTradeSettlementPaymentMeans>            <ram:ApplicableTradeTax>                <ram:CalculatedAmount>536.25</ram:CalculatedAmount>                <ram:TypeCode>VAT</ram:TypeCode>                <ram:BasisAmount>2145</ram:BasisAmount>                <ram:CategoryCode>S</ram:CategoryCode>                <ram:RateApplicablePercent>25</ram:RateApplicablePercent>            </ram:ApplicableTradeTax>            <ram:SpecifiedTradePaymentTerms>                <ram:Description>#SKONTO#TAGE=14#PROZENT=2.25#</ram:Description>            </ram:SpecifiedTradePaymentTerms>            <ram:SpecifiedTradeSettlementHeaderMonetarySummation>                <ram:LineTotalAmount>2145</ram:LineTotalAmount>                <ram:TaxBasisTotalAmount>2145</ram:TaxBasisTotalAmount>                <ram:TaxTotalAmount currencyID='EUR'>536.25</ram:TaxTotalAmount>                <ram:GrandTotalAmount>2681.25</ram:GrandTotalAmount>                <ram:DuePayableAmount>2681.25</ram:DuePayableAmount>            </ram:SpecifiedTradeSettlementHeaderMonetarySummation>        </ram:ApplicableHeaderTradeSettlement>    </rsm:SupplyChainTradeTransaction></rsm:CrossIndustryInvoice>\",\n    \"config\": {\n        \"intro_text\": \"Sehr geehrte Damen und Herren,\\n\\nIch bedanke mich für die gute Zusammenarbeit stelle Ihnen vereinbarungsgemäß folgende Leistungen in Rechnung.\",\n        \"outro_text\": \"Bitte überweisen Sie den Rechnungsbetrag ohne Abzüge auf das angegebene Bankkonto.\",\n        \"file_name\": \"invoice.pdf\"\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.finax.dev/v1/pdf/cii/",
					"protocol": "https",
					"host": [
						"api",
						"finax",
						"dev"
					],
					"path": [
						"v1",
						"pdf",
						"cii"
					]
				},
				"description": "Generate XML for UBL invoices via this endpoint.\n\nMake sure to set the `version` field if it's _not_ the latest version of XRechnung which should be generated."
			},
			"response": []
		}
	]
}
