Invoices
Fetch and update invoices information.
GET https://api.received.ai/api/invoices/<invoice_ref>
GET https://api.received.ai/api/invoices/reconcileFetching Invoices
Get Invoice
GET https://api.received.ai/api/invoices/<invoice_ref>Response
{
"invoice_ref": "3a7b0f7d-fdf6-4f54-90f4-2307b73ae85f",
"document_number": "INV-2023-001",
"customer": {
"customer_ref": "32c320bb-431b-488f-bcd4-729e495a33ad",
"customer_name": "Acme Corporation",
"customer_legal_name": "Acme Corp Ltd"
},
"state": "PAID",
"created_at": "2023-08-01T00:00:00Z",
"issue_date": "2023-08-01",
"due_date": "2023-09-01",
"submission_date": "2023-08-02T00:00:00Z",
"paid_date": "2023-08-01T00:00:00Z",
"is_partial_period": false,
"accounting_event_type": "INVOICE",
"currency": "USD",
"net_terms": 30,
"sub_total": 1000.00,
"total_discount": 50.00,
"total_tax": 100.00,
"credits_amount": 0.00,
"total": 1050.00,
"products": [
{
"product_name": "Product Name",
"minimum_fee": 0.00,
"sub_total": 800.00,
"total": 1000.00
}
],
"contract": {
"contract_ref": "32c320bb-431b-488f-bcd4-729e495a33ad",
"contract_number": 123
},
"number_in_contract": 1,
"total_in_contract": 1050.00,
"billing_bank_transfer_details": {
"billing_account_id": "32c320bb-431b-488f-bcd4-729e495a33ad"
},
"billing_online_payment_details": {
"auto_charge": true,
"payment_gateway_id": "32c320bb-431b-488f-bcd4-729e495a33ad",
"payment_gateway_card_id": "card_abcdef1234567890"
},
"billing_crypto_details": {
"address": "0x1234567890abcdef1234567890abcdef12345678",
"tokens": ["BTC", "ETH"]
},
"entity": {
"entity_ref": "32c320bb-431b-488f-bcd4-729e495a33ad",
"entity_name": "Supplier Name",
"entity_legal_name": "Supplier legal Name",
}
}
Response Schema
Field Name
Type
Description
Example
Get Customer / Contract Invoices
Field Name
Description
Example
Response
Explore More APIs
Reconcile Invoice / Mark Paid Invoice
Response
Last updated