POST /sales/invoices
POST/sales/invoices
POST /sales/invoices
Request
- application/json-patch+json
- application/json
- text/json
- application/*+json
Body
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
bank_account
object
billing_address
object
Possible values: <= 2 characters
Possible values: <= 3 characters
customer
object
address
object
Possible values: <= 2 characters
delivery_condition
object
org
object
address
object
Possible values: <= 2 characters
config
object
payment_term
object
Default value: 2
shipping_address
object
Possible values: <= 2 characters
tax_nexus
object
taxes
object[]
nullable
rates
object[]
nullable
jurisdiction
object
type
object
purchase_order
object
sales_order
object
items
object[]
nullable
item
object
variant
object
unit
object
taxes
object[]
nullable
tax_details
object
nullable
taxes
object[]
nullable
tax_details
object
nullable
shipping_charges
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
duties
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
discounts
object[]
nullable
Possible values: [DRAFT, PROCESSED, VOIDED]
fx_rates
object[]
nullable
urls
object[]
nullable
metadata
object
nullable
compliance
object
Possible values: [pending, evaluated, blocked]
Possible values: [no_reporting, reporting_by_delivery]
Possible values: [eligible, eligible_via_required_channel]
Possible values: [none, send_via_peppol]
allowed_actions
object
Body
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
bank_account
object
billing_address
object
Possible values: <= 2 characters
Possible values: <= 3 characters
customer
object
address
object
Possible values: <= 2 characters
delivery_condition
object
org
object
address
object
Possible values: <= 2 characters
config
object
payment_term
object
Default value: 2
shipping_address
object
Possible values: <= 2 characters
tax_nexus
object
taxes
object[]
nullable
rates
object[]
nullable
jurisdiction
object
type
object
purchase_order
object
sales_order
object
items
object[]
nullable
item
object
variant
object
unit
object
taxes
object[]
nullable
tax_details
object
nullable
taxes
object[]
nullable
tax_details
object
nullable
shipping_charges
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
duties
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
discounts
object[]
nullable
Possible values: [DRAFT, PROCESSED, VOIDED]
fx_rates
object[]
nullable
urls
object[]
nullable
metadata
object
nullable
compliance
object
Possible values: [pending, evaluated, blocked]
Possible values: [no_reporting, reporting_by_delivery]
Possible values: [eligible, eligible_via_required_channel]
Possible values: [none, send_via_peppol]
allowed_actions
object
Body
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
bank_account
object
billing_address
object
Possible values: <= 2 characters
Possible values: <= 3 characters
customer
object
address
object
Possible values: <= 2 characters
delivery_condition
object
org
object
address
object
Possible values: <= 2 characters
config
object
payment_term
object
Default value: 2
shipping_address
object
Possible values: <= 2 characters
tax_nexus
object
taxes
object[]
nullable
rates
object[]
nullable
jurisdiction
object
type
object
purchase_order
object
sales_order
object
items
object[]
nullable
item
object
variant
object
unit
object
taxes
object[]
nullable
tax_details
object
nullable
taxes
object[]
nullable
tax_details
object
nullable
shipping_charges
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
duties
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
discounts
object[]
nullable
Possible values: [DRAFT, PROCESSED, VOIDED]
fx_rates
object[]
nullable
urls
object[]
nullable
metadata
object
nullable
compliance
object
Possible values: [pending, evaluated, blocked]
Possible values: [no_reporting, reporting_by_delivery]
Possible values: [eligible, eligible_via_required_channel]
Possible values: [none, send_via_peppol]
allowed_actions
object
Body
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
bank_account
object
billing_address
object
Possible values: <= 2 characters
Possible values: <= 3 characters
customer
object
address
object
Possible values: <= 2 characters
delivery_condition
object
org
object
address
object
Possible values: <= 2 characters
config
object
payment_term
object
Default value: 2
shipping_address
object
Possible values: <= 2 characters
tax_nexus
object
taxes
object[]
nullable
rates
object[]
nullable
jurisdiction
object
type
object
purchase_order
object
sales_order
object
items
object[]
nullable
item
object
variant
object
unit
object
taxes
object[]
nullable
tax_details
object
nullable
taxes
object[]
nullable
tax_details
object
nullable
shipping_charges
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
duties
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
discounts
object[]
nullable
Possible values: [DRAFT, PROCESSED, VOIDED]
fx_rates
object[]
nullable
urls
object[]
nullable
metadata
object
nullable
compliance
object
Possible values: [pending, evaluated, blocked]
Possible values: [no_reporting, reporting_by_delivery]
Possible values: [eligible, eligible_via_required_channel]
Possible values: [none, send_via_peppol]
allowed_actions
object
Responses
- 200
OK
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
bank_account
object
billing_address
object
Possible values: <= 2 characters
Possible values: <= 3 characters
customer
object
address
object
Possible values: <= 2 characters
delivery_condition
object
org
object
address
object
Possible values: <= 2 characters
config
object
payment_term
object
Default value: 2
shipping_address
object
Possible values: <= 2 characters
tax_nexus
object
taxes
object[]
nullable
rates
object[]
nullable
jurisdiction
object
type
object
purchase_order
object
sales_order
object
items
object[]
nullable
item
object
variant
object
unit
object
taxes
object[]
nullable
tax_details
object
nullable
taxes
object[]
nullable
tax_details
object
nullable
shipping_charges
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
duties
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
discounts
object[]
nullable
Possible values: [DRAFT, PROCESSED, VOIDED]
fx_rates
object[]
nullable
urls
object[]
nullable
metadata
object
nullable
compliance
object
Possible values: [pending, evaluated, blocked]
Possible values: [no_reporting, reporting_by_delivery]
Possible values: [eligible, eligible_via_required_channel]
Possible values: [none, send_via_peppol]
allowed_actions
object
{
"id": 0,
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"edited_at": "2024-07-29T15:51:28.071Z",
"is_locked": true,
"total_amount": 0,
"subtotal_amount": 0,
"amount_paid": 0,
"amount_due": 0,
"total_items_amount": 0,
"total_taxes_amount": 0,
"total_taxes_rate": 0,
"bank_account": {
"id": 0,
"account_number": "string"
},
"billing_address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"counter_id": 0,
"currency": "string",
"customer": {
"id": 0,
"business_name": "string",
"display_name": "string",
"reg_no": "string",
"vat_no": "string",
"tax_no": "string",
"address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"email": "string",
"preferred_locale": "string",
"phone": "string"
},
"culture": "string",
"date_issued": "2024-07-29",
"date_taxable": "2024-07-29",
"date_due": "2024-07-29",
"delivery_condition": {
"id": 0,
"code": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"no": "string",
"notes": "string",
"memo": "string",
"org": {
"name": "string",
"reg_no": "string",
"tax_no": "string",
"vat_no": "string",
"eori_no": "string",
"address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"info_legal": "string",
"config": {
"logo": "string",
"signature": "string"
},
"website": "string",
"email": "string",
"phone": "string",
"fb": "string",
"insta": "string"
},
"payment_reference": "string",
"payment_info": "string",
"payment_term": {
"id": 0,
"code": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"precision": 2,
"rate_format": "string",
"taxes_included": true,
"tax_fx_rate": 0,
"shipping_address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"tax_nexus": {
"id": 0,
"code": "string",
"currency": "string",
"taxes": [
{
"index": 0,
"code": "string",
"name": "string",
"currency": "string",
"rate_type": "string",
"is_implicit": true,
"rates": [
{
"rate": 0,
"is_default": true
}
]
}
],
"jurisdiction": {
"country": "string",
"region": "string",
"subregion": "string",
"city": "string",
"postal_code": "string"
},
"registration_mode": "string"
},
"template_layout": "string",
"document_locale": "string",
"type": {
"id": 0,
"name": "string",
"associated_payment_cards": [
"string"
]
},
"payment_status": "string",
"overdue_days": 0,
"shopify_object_id": 0,
"stripe_object_id": "string",
"woocommerce_order_id": 0,
"eshop_order_id": 0,
"purchase_order": {
"id": 0,
"no": "string",
"ext_id": "string",
"url": "string",
"payment_status": "string",
"fulfillment_status": "string"
},
"sales_order": {
"id": 0,
"no": "string",
"ext_id": "string",
"url": "string",
"payment_status": "string",
"fulfillment_status": "string"
},
"items": [
{
"id": 0,
"title": "string",
"description": "string",
"qty": 0,
"rate": 0,
"rate_netto": 0,
"rate_gross": 0,
"rate_discounted": 0,
"rate_discounted_netto": 0,
"rate_discounted_gross": 0,
"discount_explicit": 0,
"discount_implicit": 0,
"amount": 0,
"amount_netto": 0,
"amount_gross": 0,
"tax_amount": 0,
"total_taxes_amount": 0,
"total_taxes_rate": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"sku": "string",
"barcode": "string",
"country_of_origin": "string",
"harmonized_system_code": "string",
"weight_grams": 0,
"requires_shipping": true,
"item": {
"id": 0,
"sku": "string",
"name_org": "string",
"name_leg": "string",
"name": "string",
"desc_org": "string",
"desc_leg": "string",
"desc": "string"
},
"variant": {
"id": 0,
"name": "string"
},
"unit": {
"id": 0,
"code": "string",
"unece_code": "string",
"symbol_org": "string",
"symbol_leg": "string",
"symbol": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"total_amount": 0,
"total_amount_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
],
"shipping_charges": [
{
"id": 0,
"title": "string",
"amount": 0,
"discount_implicit": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"duties": [
{
"id": 0,
"title": "string",
"amount": 0,
"discount_implicit": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"discounts": [
{
"title": "string",
"amount": 0,
"value": 0,
"value_type": "string",
"allocation_method": "string",
"target_type": "string"
}
],
"status": "DRAFT",
"fx_rates": [
{
"rate": 0,
"currency_code": "string",
"source": "string"
}
],
"urls": [
{
"token": "string",
"expire_at": "2024-07-29T15:51:28.071Z",
"url": "string"
}
],
"url": "string",
"metadata": {},
"compliance": {
"status": "pending",
"reporting_method": "no_reporting",
"delivery_eligibility": "eligible",
"required_action": "none",
"allowed_actions": {
"send_email": true,
"download_pdf": true,
"send_via_peppol": true,
"submit_to_tax_authority": true
},
"evaluated_at": "2024-07-29T15:51:28.071Z",
"blocking_reason": "string"
}
}
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
bank_account
object
billing_address
object
Possible values: <= 2 characters
Possible values: <= 3 characters
customer
object
address
object
Possible values: <= 2 characters
delivery_condition
object
org
object
address
object
Possible values: <= 2 characters
config
object
payment_term
object
Default value: 2
shipping_address
object
Possible values: <= 2 characters
tax_nexus
object
taxes
object[]
nullable
rates
object[]
nullable
jurisdiction
object
type
object
purchase_order
object
sales_order
object
items
object[]
nullable
item
object
variant
object
unit
object
taxes
object[]
nullable
tax_details
object
nullable
taxes
object[]
nullable
tax_details
object
nullable
shipping_charges
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
duties
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
discounts
object[]
nullable
Possible values: [DRAFT, PROCESSED, VOIDED]
fx_rates
object[]
nullable
urls
object[]
nullable
metadata
object
nullable
compliance
object
Possible values: [pending, evaluated, blocked]
Possible values: [no_reporting, reporting_by_delivery]
Possible values: [eligible, eligible_via_required_channel]
Possible values: [none, send_via_peppol]
allowed_actions
object
{
"id": 0,
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"edited_at": "2024-07-29T15:51:28.071Z",
"is_locked": true,
"total_amount": 0,
"subtotal_amount": 0,
"amount_paid": 0,
"amount_due": 0,
"total_items_amount": 0,
"total_taxes_amount": 0,
"total_taxes_rate": 0,
"bank_account": {
"id": 0,
"account_number": "string"
},
"billing_address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"counter_id": 0,
"currency": "string",
"customer": {
"id": 0,
"business_name": "string",
"display_name": "string",
"reg_no": "string",
"vat_no": "string",
"tax_no": "string",
"address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"email": "string",
"preferred_locale": "string",
"phone": "string"
},
"culture": "string",
"date_issued": "2024-07-29",
"date_taxable": "2024-07-29",
"date_due": "2024-07-29",
"delivery_condition": {
"id": 0,
"code": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"no": "string",
"notes": "string",
"memo": "string",
"org": {
"name": "string",
"reg_no": "string",
"tax_no": "string",
"vat_no": "string",
"eori_no": "string",
"address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"info_legal": "string",
"config": {
"logo": "string",
"signature": "string"
},
"website": "string",
"email": "string",
"phone": "string",
"fb": "string",
"insta": "string"
},
"payment_reference": "string",
"payment_info": "string",
"payment_term": {
"id": 0,
"code": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"precision": 2,
"rate_format": "string",
"taxes_included": true,
"tax_fx_rate": 0,
"shipping_address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"tax_nexus": {
"id": 0,
"code": "string",
"currency": "string",
"taxes": [
{
"index": 0,
"code": "string",
"name": "string",
"currency": "string",
"rate_type": "string",
"is_implicit": true,
"rates": [
{
"rate": 0,
"is_default": true
}
]
}
],
"jurisdiction": {
"country": "string",
"region": "string",
"subregion": "string",
"city": "string",
"postal_code": "string"
},
"registration_mode": "string"
},
"template_layout": "string",
"document_locale": "string",
"type": {
"id": 0,
"name": "string",
"associated_payment_cards": [
"string"
]
},
"payment_status": "string",
"overdue_days": 0,
"shopify_object_id": 0,
"stripe_object_id": "string",
"woocommerce_order_id": 0,
"eshop_order_id": 0,
"purchase_order": {
"id": 0,
"no": "string",
"ext_id": "string",
"url": "string",
"payment_status": "string",
"fulfillment_status": "string"
},
"sales_order": {
"id": 0,
"no": "string",
"ext_id": "string",
"url": "string",
"payment_status": "string",
"fulfillment_status": "string"
},
"items": [
{
"id": 0,
"title": "string",
"description": "string",
"qty": 0,
"rate": 0,
"rate_netto": 0,
"rate_gross": 0,
"rate_discounted": 0,
"rate_discounted_netto": 0,
"rate_discounted_gross": 0,
"discount_explicit": 0,
"discount_implicit": 0,
"amount": 0,
"amount_netto": 0,
"amount_gross": 0,
"tax_amount": 0,
"total_taxes_amount": 0,
"total_taxes_rate": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"sku": "string",
"barcode": "string",
"country_of_origin": "string",
"harmonized_system_code": "string",
"weight_grams": 0,
"requires_shipping": true,
"item": {
"id": 0,
"sku": "string",
"name_org": "string",
"name_leg": "string",
"name": "string",
"desc_org": "string",
"desc_leg": "string",
"desc": "string"
},
"variant": {
"id": 0,
"name": "string"
},
"unit": {
"id": 0,
"code": "string",
"unece_code": "string",
"symbol_org": "string",
"symbol_leg": "string",
"symbol": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"total_amount": 0,
"total_amount_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
],
"shipping_charges": [
{
"id": 0,
"title": "string",
"amount": 0,
"discount_implicit": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"duties": [
{
"id": 0,
"title": "string",
"amount": 0,
"discount_implicit": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"discounts": [
{
"title": "string",
"amount": 0,
"value": 0,
"value_type": "string",
"allocation_method": "string",
"target_type": "string"
}
],
"status": "DRAFT",
"fx_rates": [
{
"rate": 0,
"currency_code": "string",
"source": "string"
}
],
"urls": [
{
"token": "string",
"expire_at": "2024-07-29T15:51:28.071Z",
"url": "string"
}
],
"url": "string",
"metadata": {},
"compliance": {
"status": "pending",
"reporting_method": "no_reporting",
"delivery_eligibility": "eligible",
"required_action": "none",
"allowed_actions": {
"send_email": true,
"download_pdf": true,
"send_via_peppol": true,
"submit_to_tax_authority": true
},
"evaluated_at": "2024-07-29T15:51:28.071Z",
"blocking_reason": "string"
}
}
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
bank_account
object
billing_address
object
Possible values: <= 2 characters
Possible values: <= 3 characters
customer
object
address
object
Possible values: <= 2 characters
delivery_condition
object
org
object
address
object
Possible values: <= 2 characters
config
object
payment_term
object
Default value: 2
shipping_address
object
Possible values: <= 2 characters
tax_nexus
object
taxes
object[]
nullable
rates
object[]
nullable
jurisdiction
object
type
object
purchase_order
object
sales_order
object
items
object[]
nullable
item
object
variant
object
unit
object
taxes
object[]
nullable
tax_details
object
nullable
taxes
object[]
nullable
tax_details
object
nullable
shipping_charges
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
duties
object[]
nullable
taxes
object[]
nullable
tax_details
object
nullable
discounts
object[]
nullable
Possible values: [DRAFT, PROCESSED, VOIDED]
fx_rates
object[]
nullable
urls
object[]
nullable
metadata
object
nullable
compliance
object
Possible values: [pending, evaluated, blocked]
Possible values: [no_reporting, reporting_by_delivery]
Possible values: [eligible, eligible_via_required_channel]
Possible values: [none, send_via_peppol]
allowed_actions
object
{
"id": 0,
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"edited_at": "2024-07-29T15:51:28.071Z",
"is_locked": true,
"total_amount": 0,
"subtotal_amount": 0,
"amount_paid": 0,
"amount_due": 0,
"total_items_amount": 0,
"total_taxes_amount": 0,
"total_taxes_rate": 0,
"bank_account": {
"id": 0,
"account_number": "string"
},
"billing_address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"counter_id": 0,
"currency": "string",
"customer": {
"id": 0,
"business_name": "string",
"display_name": "string",
"reg_no": "string",
"vat_no": "string",
"tax_no": "string",
"address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"email": "string",
"preferred_locale": "string",
"phone": "string"
},
"culture": "string",
"date_issued": "2024-07-29",
"date_taxable": "2024-07-29",
"date_due": "2024-07-29",
"delivery_condition": {
"id": 0,
"code": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"no": "string",
"notes": "string",
"memo": "string",
"org": {
"name": "string",
"reg_no": "string",
"tax_no": "string",
"vat_no": "string",
"eori_no": "string",
"address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"info_legal": "string",
"config": {
"logo": "string",
"signature": "string"
},
"website": "string",
"email": "string",
"phone": "string",
"fb": "string",
"insta": "string"
},
"payment_reference": "string",
"payment_info": "string",
"payment_term": {
"id": 0,
"code": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"precision": 2,
"rate_format": "string",
"taxes_included": true,
"tax_fx_rate": 0,
"shipping_address": {
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"postal_code": "string",
"city": "string",
"region": "string",
"country": "string"
},
"tax_nexus": {
"id": 0,
"code": "string",
"currency": "string",
"taxes": [
{
"index": 0,
"code": "string",
"name": "string",
"currency": "string",
"rate_type": "string",
"is_implicit": true,
"rates": [
{
"rate": 0,
"is_default": true
}
]
}
],
"jurisdiction": {
"country": "string",
"region": "string",
"subregion": "string",
"city": "string",
"postal_code": "string"
},
"registration_mode": "string"
},
"template_layout": "string",
"document_locale": "string",
"type": {
"id": 0,
"name": "string",
"associated_payment_cards": [
"string"
]
},
"payment_status": "string",
"overdue_days": 0,
"shopify_object_id": 0,
"stripe_object_id": "string",
"woocommerce_order_id": 0,
"eshop_order_id": 0,
"purchase_order": {
"id": 0,
"no": "string",
"ext_id": "string",
"url": "string",
"payment_status": "string",
"fulfillment_status": "string"
},
"sales_order": {
"id": 0,
"no": "string",
"ext_id": "string",
"url": "string",
"payment_status": "string",
"fulfillment_status": "string"
},
"items": [
{
"id": 0,
"title": "string",
"description": "string",
"qty": 0,
"rate": 0,
"rate_netto": 0,
"rate_gross": 0,
"rate_discounted": 0,
"rate_discounted_netto": 0,
"rate_discounted_gross": 0,
"discount_explicit": 0,
"discount_implicit": 0,
"amount": 0,
"amount_netto": 0,
"amount_gross": 0,
"tax_amount": 0,
"total_taxes_amount": 0,
"total_taxes_rate": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"sku": "string",
"barcode": "string",
"country_of_origin": "string",
"harmonized_system_code": "string",
"weight_grams": 0,
"requires_shipping": true,
"item": {
"id": 0,
"sku": "string",
"name_org": "string",
"name_leg": "string",
"name": "string",
"desc_org": "string",
"desc_leg": "string",
"desc": "string"
},
"variant": {
"id": 0,
"name": "string"
},
"unit": {
"id": 0,
"code": "string",
"unece_code": "string",
"symbol_org": "string",
"symbol_leg": "string",
"symbol": "string",
"name_org": "string",
"name_leg": "string",
"name": "string"
},
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"total_amount": 0,
"total_amount_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
],
"shipping_charges": [
{
"id": 0,
"title": "string",
"amount": 0,
"discount_implicit": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"duties": [
{
"id": 0,
"title": "string",
"amount": 0,
"discount_implicit": 0,
"shopify_line_id": 0,
"stripe_object_id": "string",
"woocommerce_line_id": 0,
"eshop_line_id": 0,
"taxes": [
{
"id": 0,
"tax_rate": 0,
"tax_amount": 0,
"tax_amount_leg": 0,
"tax_base": 0,
"tax_base_leg": 0,
"currency_leg": "string",
"tax_index": 0,
"tax_code": "string",
"tax_name": "string",
"rate_type": "string",
"tax_details": {}
}
]
}
],
"discounts": [
{
"title": "string",
"amount": 0,
"value": 0,
"value_type": "string",
"allocation_method": "string",
"target_type": "string"
}
],
"status": "DRAFT",
"fx_rates": [
{
"rate": 0,
"currency_code": "string",
"source": "string"
}
],
"urls": [
{
"token": "string",
"expire_at": "2024-07-29T15:51:28.071Z",
"url": "string"
}
],
"url": "string",
"metadata": {},
"compliance": {
"status": "pending",
"reporting_method": "no_reporting",
"delivery_eligibility": "eligible",
"required_action": "none",
"allowed_actions": {
"send_email": true,
"download_pdf": true,
"send_via_peppol": true,
"submit_to_tax_authority": true
},
"evaluated_at": "2024-07-29T15:51:28.071Z",
"blocking_reason": "string"
}
}