curl --request POST \
--url http://localhost/api/invoices \
--header 'Content-Type: application/json' \
--data '
{
"identification": {
"seller": {
"pink_id": "<string>",
"gln": "<string>"
},
"buyer": {
"pink_id": "<string>",
"gln": "<string>"
},
"pink_id": "<string>",
"seller_invoice_id": "<string>"
},
"issue_date": "2023-11-07T05:31:56Z",
"currency": "EUR",
"buyer": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
}
},
"invoice_recipient": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
}
},
"supplier": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
}
},
"lines": [
{
"line_number": "<string>",
"product_id": "<string>",
"product_name": "<string>",
"quantity": 123,
"unit": "pc",
"references": [
{
"identification": {
"type": "DELIVERY_NOTE",
"vendor_id": "<string>",
"pink_id": "<string>"
},
"line_number": 123
}
],
"tax_details": [
{
"rate": 123,
"amount": {
"amount": 123,
"currency": "EUR"
},
"type": "<string>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"delivery_date": "2023-11-07T05:31:56Z",
"free_text": "<string>",
"unit_price": {
"amount": 123,
"currency": "EUR"
},
"net_amount": {
"amount": 123,
"currency": "EUR"
},
"total_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"total_amount": {
"amount": 123,
"currency": "EUR"
},
"net_amount": {
"amount": 123,
"currency": "EUR"
},
"tax_details": [
{
"rate": 123,
"amount": {
"amount": 123,
"currency": "EUR"
},
"type": "<string>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z",
"payment_due_date": "2023-11-07T05:31:56Z",
"payment_terms": "<string>"
}
'{
"message": "Invoice created successfully",
"transmission_id": "<string>",
"": "<string>"
}curl --request POST \
--url http://localhost/api/invoices \
--header 'Content-Type: application/json' \
--data '
{
"identification": {
"seller": {
"pink_id": "<string>",
"gln": "<string>"
},
"buyer": {
"pink_id": "<string>",
"gln": "<string>"
},
"pink_id": "<string>",
"seller_invoice_id": "<string>"
},
"issue_date": "2023-11-07T05:31:56Z",
"currency": "EUR",
"buyer": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
}
},
"invoice_recipient": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
}
},
"supplier": {
"name": "<string>",
"address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "AT",
"line2": "<string>"
},
"identification": {
"gln": "<string>",
"tax_id": "<string>"
}
},
"lines": [
{
"line_number": "<string>",
"product_id": "<string>",
"product_name": "<string>",
"quantity": 123,
"unit": "pc",
"references": [
{
"identification": {
"type": "DELIVERY_NOTE",
"vendor_id": "<string>",
"pink_id": "<string>"
},
"line_number": 123
}
],
"tax_details": [
{
"rate": 123,
"amount": {
"amount": 123,
"currency": "EUR"
},
"type": "<string>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"delivery_date": "2023-11-07T05:31:56Z",
"free_text": "<string>",
"unit_price": {
"amount": 123,
"currency": "EUR"
},
"net_amount": {
"amount": 123,
"currency": "EUR"
},
"total_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"total_amount": {
"amount": 123,
"currency": "EUR"
},
"net_amount": {
"amount": 123,
"currency": "EUR"
},
"tax_details": [
{
"rate": 123,
"amount": {
"amount": 123,
"currency": "EUR"
},
"type": "<string>",
"taxable_amount": {
"amount": 123,
"currency": "EUR"
}
}
],
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z",
"payment_due_date": "2023-11-07T05:31:56Z",
"payment_terms": "<string>"
}
'{
"message": "Invoice created successfully",
"transmission_id": "<string>",
"": "<string>"
}Invoice
Invoice identification
Show child attributes
Invoice date
EUR, USD, GBP Buyer information
Show child attributes
Invoice recipient information
Show child attributes
Supplier information
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Invoice period start date
Invoice period end date