Invoices
Fetch and update invoices information.
Received's Invoices APIs allow our users to manage their invoices and contracts. The APIs support operations such as fetching an invoice, reconciliation of an invoice, fetching customers' related data.
Don't forget! APIs must include:
Bearer Token - return from the login call
API version - {"Version": "V0"}
Fetching Invoices
Fetching invoices involves retrieving specific billing documents either by their unique invoice ID or through a contract ID, which allows access to both current and upcoming invoices, ensuring timely financial management and client servicing
Get Invoice
Response
Response Schema
Field Name | Type | Description | Example |
---|---|---|---|
| String | The ID of the related invoice | 3a7b0f7d-fdf6-4f54-90f4-2307b73ae85f |
| String | Invoice number | PO-2024-12345 |
| Object | The related customer | |
| String | The ID of the related customer | fae8fc36-d321-473f-9890-a9cb16deb4dd |
| String | The name of the related customer | Acme |
| String | The legal name of the related customer | Acme Inc. |
| String | The current state of the invoice | PAID |
| String | The date of invoice creation. Standard time format "ISO 8601" | 2023-08-01T00:00:00Z |
| String | The date that the invoice should be issued. Standard date format "ISO 8601" | 2024-02-05 |
| String | The max date that the invoice should be paid. Standard date format "ISO 8601" | 2024-02-05 |
| String | The date on which the invoice was submitted to a customer. Standard time format "ISO 8601" | 2023-08-01T00:00:00Z |
| String | The date that the invoice was paid. Standard date format "ISO 8601" | 2024-02-05 |
| Boolean | Is the period of the invoice is a prtial period | false |
| String | The type of the accounting event of the document | INVOICE |
| String | The currency of the invoice | USD |
| Number | The default net terms used for this company, It must be a positive number or a payment term: "DUE_UPON_RECEIPT", "DUE_UPON_USAGE" | DUE_UPON_RECEIPT |
| Number | The subtotal of the invoice | 1000.00 |
| Number | The total discount applied on the invoice | 100.00 |
| Number | The total tax applied on the invoice | 50.00 |
| Number | The amount of credit applied on the invoice | 0.00 |
| Number | The total amount of the invoice | 950.00 |
| Object | The related contract | |
| String | The ID of the related contract | 3a7b0f7d-fdf6-4f54-90f4-2307b73ae85f |
| Number | The number of the related contract | 335 |
| Number | The serial number of the invoice inside the contract | 1 |
| Number | The total amount if the contract | 1050.00 |
| Array | A list of the products associated with the contract | |
| String | The name of the product | Smartwatch |
| number | The minimum fee of the product | 0.00 |
| Number | The subtotal of the product | 800.00 |
| Number | The total amount of the product | 1000.00 |
| Object | Bank account details | |
| String | The ID of the bank account | 3a7b0f7d-fdf6-4f54-90f4-2307b73ae85f |
| Object | Online payment details | |
| Boolean | Indicates whether the charging should be automatic or not | true |
| String | The ID of the payment gateway | 3a7b0f7d-fdf6-4f54-90f4-2307b73ae85f |
| String | The ID of a specific card defined in the payment gateway account | card_abcdef1234567890 |
| Object | The details of the crypto wallet | |
| String | The address of the crypto wallet | 1Lbcfr7sAHTD9CgdQo3HTMTkV8LK4ZnX71 |
| Array | The crypto tokens that supported by the wallet | ["BTC", "ETH"] |
| Object | The related entity | |
| String | The ID of the related supplier entity | 7f90df6e-b833-4bfa-b6d8-ac6cbe347bc6 |
| String | The name of the related entity | US Entity |
| String | The legal name of the related entity | US Entity Ltd |
Get Customer / Contract Invoices
URL Params
Field Name | Description | Example | |
---|---|---|---|
| List<String> | The IDs of the customers | |
| List<String> | The IDs of the contracts | |
| Number | Page size | 50 |
| Number | Page number | 0 |
Response
Explore More APIs
Delves into additional invoices methods, broadening your integration capabilities and enhancing secure access
Reconcile Invoice / Mark Paid Invoice
The Reconcile Invoice API facilitates the comparison and adjustment of invoice records with actual transactions, ensuring that payment details align with billed services, thereby streamlining the accounting process and enhancing financial accuracy
Response
Updated invoice object
Last updated