curl --request PATCH \
--url https://api.wellapp.ai/v1/invoices/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"type": "invoice",
"attributes": {
"reference_number": "INV-2025-001",
"document_type_code": "380",
"local_currency": "EUR",
"local_totals": {
"items_total": 2500,
"tax_total": 0,
"grand_total": 50
},
"issue_date": "2025-01-15",
"due_date": "2025-02-15",
"terms": "Net 30",
"billing_context": "subscription",
"payment_status": {
"paid": true,
"local_amount_paid": 3000,
"local_amount_remaining": 0
},
"description": "Professional services invoice for January 2025"
},
"relationships": {
"issuer": {
"data": {
"type": "<string>",
"id": "company-uuid"
}
},
"receiver": {
"data": {
"type": "<string>",
"id": "company-uuid"
}
},
"payment_means": {
"data": [
{
"type": "<string>",
"id": "pm_1"
}
]
},
"invoice_items": {
"data": [
{
"type": "<string>",
"id": "pm_1"
}
]
},
"documents": {
"data": [
{
"type": "<string>",
"id": "doc_original_invoice"
}
]
},
"people": {
"data": [
{
"type": "workspace",
"external_workspace_id": "<string>"
}
]
}
},
"included": {
"issuer": {
"data": [
{
"type": "<string>",
"id": "company-2",
"attributes": {
"registration": {
"registered_name": "TechCorp AI Solutions LLC",
"trade_name": "TechSol"
},
"locale": "en-US",
"domain_name_primary_link_url": "https://www.techcorp.com",
"tax_id": {
"value": "DE123456789",
"type": [
"VAT",
"TVA",
"IVA",
"..."
]
},
"registration_number": {
"business_type": "GmbH",
"value": "HRB 123456",
"registry_name": "Handelsregister Berlin",
"registry_country": "DE, FR, US, etc."
},
"description": "An innovative technology company focused on AI solutions"
}
}
]
},
"receiver": {
"data": [
{
"type": "<string>",
"id": "company-2",
"attributes": {
"registration": {
"registered_name": "TechCorp AI Solutions LLC",
"trade_name": "TechSol"
},
"locale": "en-US",
"domain_name_primary_link_url": "https://www.techcorp.com",
"tax_id": {
"value": "DE123456789",
"type": [
"VAT",
"TVA",
"IVA",
"..."
]
},
"registration_number": {
"business_type": "GmbH",
"value": "HRB 123456",
"registry_name": "Handelsregister Berlin",
"registry_country": "DE, FR, US, etc."
},
"description": "An innovative technology company focused on AI solutions"
}
}
]
},
"payment_means": {
"data": [
{
"type": "<string>",
"id": "pm-1",
"attributes": {
"type": "card_details",
"scheme": "SEPA",
"status": "active",
"account_details": {
"iban": "<string>",
"bic": "<string>",
"sort_code": "<string>",
"account_number": "<string>",
"routing_number": "<string>",
"currency": "<string>"
},
"bank_details": {
"bank_name": "<string>",
"bank_code": "<string>",
"branch_name": "<string>",
"branch_code": "<string>"
},
"card_details": {
"masked_pan": "<string>",
"brand": "visa",
"card_type": "credit",
"expiry_month": 6,
"expiry_year": 2025,
"cardholder_name": "<string>"
},
"digital_wallet": {
"provider": "paypal",
"wallet_id": "<string>",
"wallet_type": "personal"
},
"compliance": {
"kyc_status": "pending",
"aml_status": "pending"
},
"nickname": "<string>",
"description": "<string>",
"tags": [
"<string>"
]
}
}
]
},
"invoice_items": {
"data": [
{
"type": "<string>",
"id": "item-1",
"attributes": {
"line_id": "1",
"name": "Wireless Mouse",
"unit_price": 25,
"currency": "EUR",
"sku": "WM-1001",
"description": "Ergonomic wireless mouse with USB receiver",
"unit": "EA",
"min_quantity": 1,
"max_quantity": 500,
"tax": {
"rate": 20,
"category": "standard",
"scheme": "VAT"
},
"period": {
"start": "2025-06-26",
"end": "2025-06-27"
}
}
}
]
},
"documents": {
"data": [
{
"type": "<string>",
"id": "doc-1",
"attributes": {
"file_name": "<string>",
"status": "<string>",
"file_type": "<string>",
"size_bytes": 123
}
}
]
},
"people": {
"data": [
{
"type": "<string>",
"id": "person-1",
"attributes": {
"first_name": "John",
"last_name": "Doe"
}
}
]
}
}
}
}
'{
"data": {
"type": "invoice",
"id": "invoice_550e8400-e29b-41d4-a716-446655440000",
"attributes": {
"reference_number": "INV-2025-001",
"document_type": "commercial_invoice",
"document_type_code": "380",
"issue_date": "2025-01-15",
"due_date": "2025-02-15",
"local_currency": "EUR",
"local_totals": {
"subtotal": "1000.00",
"tax_total": "200.00",
"total_amount": "1200.00"
},
"terms": "Payment due within 30 days",
"billing_context": "subscription",
"payment_status": {
"paid": true,
"amount_paid": 123,
"amount_remaining": 123
},
"status": "draft",
"description": "Professional services invoice for January 2025",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
},
"relationships": {
"issuer": {
"data": {
"type": "company",
"id": "company-issuer-uuid"
}
},
"receiver": {
"data": {
"type": "company",
"id": "company-receiver-uuid"
}
},
"payment_means": {
"data": [
{
"type": "payment_means",
"id": "pm_1"
}
]
},
"invoice_items": {
"data": [
{
"type": "invoice_item",
"id": "item_1"
}
]
},
"documents": {
"data": [
{
"type": "document",
"id": "doc_original_invoice"
}
]
},
"people": {
"data": [
{
"type": "people",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
},
"included": [
{
"type": "people",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attributes": {
"first_name": "John",
"last_name": "Smith",
"full_name": "John Smith",
"email": "[email protected]",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "document",
"id": "doc_original_invoice",
"attributes": {
"file_name": "invoice_2025_001.pdf",
"status": "processed",
"uploaded_at": "2023-11-07T05:31:56Z",
"processed_at": "2023-11-07T05:31:56Z",
"file_type": "application/pdf",
"size_bytes": 245678,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "invoice_item",
"id": "item_1",
"attributes": {
"line_id": "1",
"sku": "WM-1001",
"name": "Wireless Mouse",
"description": "Ergonomic wireless mouse with USB receiver",
"unit_price": 25,
"currency": "EUR",
"unit": "EA",
"min_quantity": 1,
"max_quantity": 500,
"tax": {
"rate": 20,
"category": "standard",
"scheme": "VAT"
},
"period": {
"start": "2025-06-26",
"end": "2025-06-27"
},
"created_at": "2025-05-11T13:42:12Z",
"updated_at": "2025-05-11T13:45:20Z"
}
},
{
"type": "payment_means",
"id": "pm_1",
"attributes": {
"type": "card_details",
"scheme": "SEPA",
"status": "active",
"account_details": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX",
"account_number": "532013000",
"routing_number": "37040044",
"currency": "EUR"
},
"bank_details": {
"bank_name": "Commerzbank AG",
"bank_code": "37040044",
"branch_name": "Main Branch",
"branch_code": "440"
},
"card_details": {
"masked_pan": "****1234",
"brand": "visa",
"card_type": "credit",
"expiry_month": 12,
"expiry_year": 2027,
"cardholder_name": "John Smith"
},
"digital_wallet": {
"provider": "paypal",
"wallet_id": "[email protected]",
"wallet_type": "personal"
},
"compliance": {
"kyc_status": "verified",
"aml_status": "cleared",
"sanctions_check": "passed",
"last_compliance_check": "2023-11-07T05:31:56Z"
},
"metadata": {
"source": "api",
"external_id": "ext_pm_12345"
},
"nickname": "Primary Payment Method",
"description": "Main company payment account",
"tags": [
"primary",
"sepa"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "company",
"id": "company-receiver-uuid",
"attributes": {
"name": "ACME Corporation",
"description": "Technology solutions provider",
"domain_name_primary_link_url": "acme.com",
"locale": "en",
"tax_id": {
"value": "DE123456789",
"type": "VAT"
},
"registration": {
"trade_name": "TechSol",
"registered_name": "ACME Corporation GmbH"
},
"registration_number": {
"business_type": "GmbH",
"value": "HRB 123456",
"registry_name": "Handelsregister Berlin",
"registry_country": "DE"
},
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "company",
"id": "company-issuer-uuid",
"attributes": {
"name": "Service Provider Inc",
"description": "Professional services company",
"domain_name_primary_link_url": "serviceprovider.com",
"locale": "en",
"tax_id": {
"value": "FR987654321",
"type": "VAT"
},
"registration": {
"trade_name": "Service Provider",
"registered_name": "Service Provider Inc."
},
"registration_number": {
"business_type": "Inc",
"value": "RCS 987654",
"registry_name": "Paris Commercial Registry",
"registry_country": "FR"
},
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
]
}Modify an existing invoice by its unique ID.
curl --request PATCH \
--url https://api.wellapp.ai/v1/invoices/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"type": "invoice",
"attributes": {
"reference_number": "INV-2025-001",
"document_type_code": "380",
"local_currency": "EUR",
"local_totals": {
"items_total": 2500,
"tax_total": 0,
"grand_total": 50
},
"issue_date": "2025-01-15",
"due_date": "2025-02-15",
"terms": "Net 30",
"billing_context": "subscription",
"payment_status": {
"paid": true,
"local_amount_paid": 3000,
"local_amount_remaining": 0
},
"description": "Professional services invoice for January 2025"
},
"relationships": {
"issuer": {
"data": {
"type": "<string>",
"id": "company-uuid"
}
},
"receiver": {
"data": {
"type": "<string>",
"id": "company-uuid"
}
},
"payment_means": {
"data": [
{
"type": "<string>",
"id": "pm_1"
}
]
},
"invoice_items": {
"data": [
{
"type": "<string>",
"id": "pm_1"
}
]
},
"documents": {
"data": [
{
"type": "<string>",
"id": "doc_original_invoice"
}
]
},
"people": {
"data": [
{
"type": "workspace",
"external_workspace_id": "<string>"
}
]
}
},
"included": {
"issuer": {
"data": [
{
"type": "<string>",
"id": "company-2",
"attributes": {
"registration": {
"registered_name": "TechCorp AI Solutions LLC",
"trade_name": "TechSol"
},
"locale": "en-US",
"domain_name_primary_link_url": "https://www.techcorp.com",
"tax_id": {
"value": "DE123456789",
"type": [
"VAT",
"TVA",
"IVA",
"..."
]
},
"registration_number": {
"business_type": "GmbH",
"value": "HRB 123456",
"registry_name": "Handelsregister Berlin",
"registry_country": "DE, FR, US, etc."
},
"description": "An innovative technology company focused on AI solutions"
}
}
]
},
"receiver": {
"data": [
{
"type": "<string>",
"id": "company-2",
"attributes": {
"registration": {
"registered_name": "TechCorp AI Solutions LLC",
"trade_name": "TechSol"
},
"locale": "en-US",
"domain_name_primary_link_url": "https://www.techcorp.com",
"tax_id": {
"value": "DE123456789",
"type": [
"VAT",
"TVA",
"IVA",
"..."
]
},
"registration_number": {
"business_type": "GmbH",
"value": "HRB 123456",
"registry_name": "Handelsregister Berlin",
"registry_country": "DE, FR, US, etc."
},
"description": "An innovative technology company focused on AI solutions"
}
}
]
},
"payment_means": {
"data": [
{
"type": "<string>",
"id": "pm-1",
"attributes": {
"type": "card_details",
"scheme": "SEPA",
"status": "active",
"account_details": {
"iban": "<string>",
"bic": "<string>",
"sort_code": "<string>",
"account_number": "<string>",
"routing_number": "<string>",
"currency": "<string>"
},
"bank_details": {
"bank_name": "<string>",
"bank_code": "<string>",
"branch_name": "<string>",
"branch_code": "<string>"
},
"card_details": {
"masked_pan": "<string>",
"brand": "visa",
"card_type": "credit",
"expiry_month": 6,
"expiry_year": 2025,
"cardholder_name": "<string>"
},
"digital_wallet": {
"provider": "paypal",
"wallet_id": "<string>",
"wallet_type": "personal"
},
"compliance": {
"kyc_status": "pending",
"aml_status": "pending"
},
"nickname": "<string>",
"description": "<string>",
"tags": [
"<string>"
]
}
}
]
},
"invoice_items": {
"data": [
{
"type": "<string>",
"id": "item-1",
"attributes": {
"line_id": "1",
"name": "Wireless Mouse",
"unit_price": 25,
"currency": "EUR",
"sku": "WM-1001",
"description": "Ergonomic wireless mouse with USB receiver",
"unit": "EA",
"min_quantity": 1,
"max_quantity": 500,
"tax": {
"rate": 20,
"category": "standard",
"scheme": "VAT"
},
"period": {
"start": "2025-06-26",
"end": "2025-06-27"
}
}
}
]
},
"documents": {
"data": [
{
"type": "<string>",
"id": "doc-1",
"attributes": {
"file_name": "<string>",
"status": "<string>",
"file_type": "<string>",
"size_bytes": 123
}
}
]
},
"people": {
"data": [
{
"type": "<string>",
"id": "person-1",
"attributes": {
"first_name": "John",
"last_name": "Doe"
}
}
]
}
}
}
}
'{
"data": {
"type": "invoice",
"id": "invoice_550e8400-e29b-41d4-a716-446655440000",
"attributes": {
"reference_number": "INV-2025-001",
"document_type": "commercial_invoice",
"document_type_code": "380",
"issue_date": "2025-01-15",
"due_date": "2025-02-15",
"local_currency": "EUR",
"local_totals": {
"subtotal": "1000.00",
"tax_total": "200.00",
"total_amount": "1200.00"
},
"terms": "Payment due within 30 days",
"billing_context": "subscription",
"payment_status": {
"paid": true,
"amount_paid": 123,
"amount_remaining": 123
},
"status": "draft",
"description": "Professional services invoice for January 2025",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
},
"relationships": {
"issuer": {
"data": {
"type": "company",
"id": "company-issuer-uuid"
}
},
"receiver": {
"data": {
"type": "company",
"id": "company-receiver-uuid"
}
},
"payment_means": {
"data": [
{
"type": "payment_means",
"id": "pm_1"
}
]
},
"invoice_items": {
"data": [
{
"type": "invoice_item",
"id": "item_1"
}
]
},
"documents": {
"data": [
{
"type": "document",
"id": "doc_original_invoice"
}
]
},
"people": {
"data": [
{
"type": "people",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
},
"included": [
{
"type": "people",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attributes": {
"first_name": "John",
"last_name": "Smith",
"full_name": "John Smith",
"email": "[email protected]",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "document",
"id": "doc_original_invoice",
"attributes": {
"file_name": "invoice_2025_001.pdf",
"status": "processed",
"uploaded_at": "2023-11-07T05:31:56Z",
"processed_at": "2023-11-07T05:31:56Z",
"file_type": "application/pdf",
"size_bytes": 245678,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "invoice_item",
"id": "item_1",
"attributes": {
"line_id": "1",
"sku": "WM-1001",
"name": "Wireless Mouse",
"description": "Ergonomic wireless mouse with USB receiver",
"unit_price": 25,
"currency": "EUR",
"unit": "EA",
"min_quantity": 1,
"max_quantity": 500,
"tax": {
"rate": 20,
"category": "standard",
"scheme": "VAT"
},
"period": {
"start": "2025-06-26",
"end": "2025-06-27"
},
"created_at": "2025-05-11T13:42:12Z",
"updated_at": "2025-05-11T13:45:20Z"
}
},
{
"type": "payment_means",
"id": "pm_1",
"attributes": {
"type": "card_details",
"scheme": "SEPA",
"status": "active",
"account_details": {
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX",
"account_number": "532013000",
"routing_number": "37040044",
"currency": "EUR"
},
"bank_details": {
"bank_name": "Commerzbank AG",
"bank_code": "37040044",
"branch_name": "Main Branch",
"branch_code": "440"
},
"card_details": {
"masked_pan": "****1234",
"brand": "visa",
"card_type": "credit",
"expiry_month": 12,
"expiry_year": 2027,
"cardholder_name": "John Smith"
},
"digital_wallet": {
"provider": "paypal",
"wallet_id": "[email protected]",
"wallet_type": "personal"
},
"compliance": {
"kyc_status": "verified",
"aml_status": "cleared",
"sanctions_check": "passed",
"last_compliance_check": "2023-11-07T05:31:56Z"
},
"metadata": {
"source": "api",
"external_id": "ext_pm_12345"
},
"nickname": "Primary Payment Method",
"description": "Main company payment account",
"tags": [
"primary",
"sepa"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "company",
"id": "company-receiver-uuid",
"attributes": {
"name": "ACME Corporation",
"description": "Technology solutions provider",
"domain_name_primary_link_url": "acme.com",
"locale": "en",
"tax_id": {
"value": "DE123456789",
"type": "VAT"
},
"registration": {
"trade_name": "TechSol",
"registered_name": "ACME Corporation GmbH"
},
"registration_number": {
"business_type": "GmbH",
"value": "HRB 123456",
"registry_name": "Handelsregister Berlin",
"registry_country": "DE"
},
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
{
"type": "company",
"id": "company-issuer-uuid",
"attributes": {
"name": "Service Provider Inc",
"description": "Professional services company",
"domain_name_primary_link_url": "serviceprovider.com",
"locale": "en",
"tax_id": {
"value": "FR987654321",
"type": "VAT"
},
"registration": {
"trade_name": "Service Provider",
"registered_name": "Service Provider Inc."
},
"registration_number": {
"business_type": "Inc",
"value": "RCS 987654",
"registry_name": "Paris Commercial Registry",
"registry_country": "FR"
},
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
]
}Bearer token for authentication
Unique identifier of the invoice to be updated.
Schema for creating a new invoice
Show child attributes
Resource type identifier
invoice Invoice attributes and data
Show child attributes
Unique reference number for the invoice
"INV-2025-001"
Standard document type code (UN/EDIFACT)
"380"
Currency code for the invoice (ISO 4217)
"EUR"
Financial totals for the invoice
Date when the invoice was issued
"2025-01-15"
Payment due date
"2025-02-15"
Contractual payment terms
"Net 30"
Billing context identifier
"subscription"
Payment status and amounts
Show child attributes
Whether the invoice has been paid
true
Amount paid in local currency
3000
Remaining unpaid amount in local currency
0
Invoice description or notes
"Professional services invoice for January 2025"
Relationships with other resources
Show child attributes
Company issuing the invoice
Show child attributes
Company receiving the invoice
Show child attributes
Associated payment methods
Show child attributes
Line items included in the invoice
Show child attributes
Supporting documents attached to the invoice
Show child attributes
Show child attributes
Show child attributes
Show child attributes
"company"Temp-id that references a company in the relationships
"company-2"
Show child attributes
Show child attributes
Language settings.That’s the locale for the business relationship. Emails or documents can be used to identify the locale. Default EN.
"en-US"
The domain url from the website or email address of the company. Used as unique identifier in some cases.
"https://www.techcorp.com"
Show child attributes
Tax ID issued by local or national tax authority.
"DE123456789"
Type of tax ID, useful for applying formatting and validation rules.all tax id types See all available labels for complete list.
["VAT", "TVA", "IVA", "..."]Show child attributes
Legal entity structure type. See all business entity types for complete list.
Inc, Corp, LLC, GmbH, Ltd, SA, SAS "GmbH"
Official company registration number.
"HRB 123456"
Name of the official registration body. See all available registry name for complete list.
"Handelsregister Berlin"
Country of the registry authority. Must be valid ISO country code
"DE, FR, US, etc."
Company description explaining business purpose in max 2 sentences.
1 - 500"An innovative technology company focused on AI solutions"
Show child attributes
Show child attributes
"company"Temp-id that references a company in the relationships
"company-2"
Show child attributes
Show child attributes
Language settings.That’s the locale for the business relationship. Emails or documents can be used to identify the locale. Default EN.
"en-US"
The domain url from the website or email address of the company. Used as unique identifier in some cases.
"https://www.techcorp.com"
Show child attributes
Tax ID issued by local or national tax authority.
"DE123456789"
Type of tax ID, useful for applying formatting and validation rules.all tax id types See all available labels for complete list.
["VAT", "TVA", "IVA", "..."]Show child attributes
Legal entity structure type. See all business entity types for complete list.
Inc, Corp, LLC, GmbH, Ltd, SA, SAS "GmbH"
Official company registration number.
"HRB 123456"
Name of the official registration body. See all available registry name for complete list.
"Handelsregister Berlin"
Country of the registry authority. Must be valid ISO country code
"DE, FR, US, etc."
Company description explaining business purpose in max 2 sentences.
1 - 500"An innovative technology company focused on AI solutions"
Show child attributes
Show child attributes
"payment_means"Temp-id that references a payment means in the relationships
"pm-1"
Show child attributes
Type of payment means. See payment means types for details.
card_details, account_details, wallet_details, ... Payment scheme or network. See scheme types for details.
SEPA, SWIFT, ACH, ... Current status of the payment means. See payment means status for details.
active, inactive, pending_verification, suspended, expired, blocked Bank account details for account_details type
Show child attributes
International Bank Account Number
Bank Identifier Code (SWIFT)
Bank sort code (UK)
Local account number (alternative to IBAN)
Bank routing number (US ACH)
Currency code (ISO 4217)
Additional bank information
Show child attributes
Name of the bank
Bank code or identifier
Bank branch name
Bank branch code
Credit/debit card details for card_details type
Show child attributes
Masked Primary Account Number (PCI DSS compliant)
Card brand
visa, mastercard, amex, discover, diners, jcb, unionpay, other Type of card
credit, debit, prepaid, charge Card expiry month
1 <= x <= 12Card expiry year
x >= 2024Name as printed on card
Digital wallet details for wallet_details type
Show child attributes
Digital wallet provider
paypal, applepay, googlepay, stripe, square, venmo, cashapp, other Wallet identifier (email, phone, etc.)
Type of wallet account
personal, business, merchant Compliance and verification status
Show child attributes
Know Your Customer verification status
pending, in_progress, completed, failed, not_required Anti-Money Laundering check status
pending, in_progress, cleared, flagged, not_required User-friendly name for the payment means
100Additional description of the payment means
500Tags for categorization
Show child attributes
Show child attributes
"invoice_item"Temp-id that references an invoice item in the relationships
"item-1"
Show child attributes
Line identifier within the invoice
"1"
Product or service name
"Wireless Mouse"
Unit price in local currency
x >= 025
ISO 4217 currency code
"EUR"
Stock Keeping Unit identifier
"WM-1001"
Detailed description of the item
"Ergonomic wireless mouse with USB receiver"
Unit of measurement. See all available units for complete list.
EA, HUR, KGM, ... "EA"
Minimum quantity allowed
x >= 01
Maximum quantity allowed
x >= 1500
Show child attributes
Tax rate as percentage
0 <= x <= 10020
Tax category classification. See all tax categories for complete list.
standard, reduced, exempt, ... "standard"
Tax scheme classification. See all tax schemes for complete list.
VAT, EU_VAT, UK_VAT, ... "VAT"
Show child attributes
Show child attributes
"document"Temp-id that references a document in the relationships
"doc-1"
Show child attributes
Show child attributes
"people"Temp-id that references a person in the relationships
"person-1"
Invoice updated successfully
Response schema for successfully created invoice
Show child attributes
Show child attributes
Resource type identifier
invoice Unique identifier for the created invoice
"invoice_550e8400-e29b-41d4-a716-446655440000"
Show child attributes
Unique reference number for the invoice
"INV-2025-001"
Type of invoice document
"commercial_invoice"
Standard document type code
"380"
Date when the invoice was issued
"2025-01-15"
Payment due date
"2025-02-15"
Currency code for the invoice
"EUR"
Contractual payment terms
Billing context identifier
"subscription"
Invoice lifecycle status
draft, sent, viewed, accepted, rejected, cancelled "draft"
Invoice description or notes
"Professional services invoice for January 2025"
Timestamp when the invoice was created
"2025-01-15T10:30:00Z"
Timestamp when the invoice was last updated
"2025-01-15T10:30:00Z"
Relationships with other resources
Show child attributes
Show child attributes
Show child attributes
"people"UUID of the person
Show child attributes
Show child attributes
Correspondent/intermediary banks for routing (optional)
Show child attributes
Show child attributes
"company"UUID of the parent company
Show child attributes
Correspondent/intermediary banks for routing (optional)
Show child attributes
Show child attributes
"company"UUID of the parent company
Show child attributes
Line identifier within the invoice
"1"
Stock Keeping Unit identifier
"WM-1001"
Product or service name
"Wireless Mouse"
Detailed description of the item
"Ergonomic wireless mouse with USB receiver"
Unit price in local currency
x >= 025
ISO 4217 currency code
"EUR"
Unit of measurement
"EA"
Minimum quantity allowed
x >= 01
Maximum quantity allowed
x >= 1500
Show child attributes
Tax rate as percentage
0 <= x <= 10020
Tax category
"standard"
Tax scheme identifier
"VAT"
Creation timestamp
"2025-05-11T13:42:12Z"
Last update timestamp
"2025-05-11T13:45:20Z"
Correspondent/intermediary banks for routing (optional)
Show child attributes
Show child attributes
"company"UUID of the parent company
Show child attributes
Type of payment means. See payment means types for details.
card_details, account_details, wallet_details, cash_details, check_details, crypto_details, other Payment scheme or network. See scheme types for details.
SEPA, SWIFT, ACH, FASTER_PAYMENTS, VISA, MASTERCARD, AMEX, PAYPAL, APPLEPAY, GOOGLEPAY, STRIPE, LOCAL, OTHER Current status of the payment means. See payment means status for details.
active, inactive, pending_verification, suspended, expired, blocked Bank account details for account_details type
Show child attributes
International Bank Account Number
Bank Identifier Code (SWIFT)
Local account number (alternative to IBAN)
Bank routing number (US ACH)
Currency code (ISO 4217)
Additional bank information
Show child attributes
Name of the bank
Bank code or identifier
Bank branch name
Bank branch code
Credit/debit card details for card_details type
Show child attributes
Masked Primary Account Number (PCI DSS compliant)
Card brand
visa, mastercard, amex, discover, diners, jcb, unionpay, other Type of card
credit, debit, prepaid, charge Card expiry month
Card expiry year
Name as printed on card
Digital wallet details for wallet_details type
Show child attributes
Digital wallet provider
paypal, applepay, googlepay, stripe, square, venmo, cashapp, other Wallet identifier (email, phone, etc.)
Type of wallet account
personal, business, merchant Compliance and verification status
Show child attributes
Know Your Customer verification status
pending, in_progress, completed, failed, not_required Anti-Money Laundering check status
pending, in_progress, cleared, flagged, not_required Sanctions screening status
pending, passed, failed, not_required Last compliance check timestamp
System metadata
User-friendly name for the payment means
Additional description of the payment means
Tags for categorization
Creation timestamp
Last update timestamp
Correspondent/intermediary banks for routing (optional)
Show child attributes
Show child attributes
"company"UUID of the parent company
Show child attributes
The domain url from the website or email address of the company. Used as unique identifier in some cases.
500Show child attributes
Legal entity structure type.
Official company registration number.
Name of the official registration body.
Country of the registry authority. (string (ISO 3166-1 alpha-2))
UUID of the workspace associated with this company
Correspondent/intermediary banks for routing (optional)
Show child attributes
Show child attributes
"company"UUID of the parent company
Show child attributes
The domain url from the website or email address of the company. Used as unique identifier in some cases.
500Show child attributes
Legal entity structure type.
Official company registration number.
Name of the official registration body.
Country of the registry authority. (string (ISO 3166-1 alpha-2))
UUID of the workspace associated with this company