Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Qargo API / Accounting API

The API / Accounting API from Qargo — 33 operation(s) for api / accounting.

Qargo API / Accounting API is one of 26 APIs that Qargo publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include API / Accounting. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 45 operations across 33 paths, and defines 80 schemas. It is described by OpenAPI 3.1.0, at version 1.2.0.

Requests are made against a single base URL, https://api.qargo.com.

45 operations 33 paths 80 schemas 1 DELETE23 GET8 PATCH12 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.2.0
Base URL
https://api.qargo.com
Authentication
OAuth 2.0, HTTP Basic
Resource Areas
1

Authentication & Security 2

Qargo API / Accounting API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oAuth2ClientCredentials) using the clientCredentials flow. It accepts HTTP basic authentication (BasicAuthWebhookCredentials).

Paths & Operations 45

Across 33 paths, the API surfaces 45 operations — 1 DELETE, 23 GET, 8 PATCH, 12 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

API / Accounting 45
GET
/v1/accounting/accounts
List Accounts
List_accounts_v1_accounting_accounts_get 3 params → 200400401403422429500503
GET
/v1/accounting/accounts/{id}
Retrieve Account
Retrieve_account_v1_accounting_accounts__id__get 1 param → 200400401403422429500503
POST
/v1/accounting/exchange-rate
Create An Exchange Rate
Create_an_exchange_rate_v1_accounting_exchange_rate_post body → 200400401403422429500503
GET
/v1/accounting/exchange-rate
List Exchange Rates
List_exchange_rates_v1_accounting_exchange_rate_get 5 params → 200400401403422429500503
GET
/v1/accounting/purchase-credit-note/{id}
Retrieve Purchase Credit Note
Retrieve_purchase_credit_note_v1_accounting_purchase_credit_note__id__get 1 param → 200400401403422429500503
PATCH
/v1/accounting/purchase-credit-note/{id}
Update Purchase Credit Note
Update_purchase_credit_note_v1_accounting_purchase_credit_note__id__patch 1 param body → 200400401403422429500503
GET
/v1/accounting/purchase-credit-note/{id}/documents
Retrieve Purchase Credit Note Documents
Retrieve_purchase_credit_note_documents_v1_accounting_purchase_credit_note__id__documents_get 1 param → 200400401403422429500503
POST
/v1/accounting/purchase-credit-note/{id}/refund/update-status
Report Refund Status For Purchase Credit Note
Report_refund_status_for_purchase_credit_note_v1_accounting_purchase_credit_note__id__refund_update_status_post 1 param body → 200400401403422429500503
GET
/v1/accounting/purchase-invoice/{id}
Retrieve Purchase Invoice
Retrieve_purchase_invoice_v1_accounting_purchase_invoice__id__get 1 param → 200400401403422429500503
PATCH
/v1/accounting/purchase-invoice/{id}
Update Purchase Invoice
Update_purchase_invoice_v1_accounting_purchase_invoice__id__patch 1 param body → 200400401403422429500503
GET
/v1/accounting/purchase-invoice/{id}/documents
Retrieve Purchase Invoice Documents
Retrieve_purchase_invoice_documents_v1_accounting_purchase_invoice__id__documents_get 1 param → 200400401403422429500503
POST
/v1/accounting/purchase-invoice/{id}/payment/update-status
Report Payment Status For Purchase Invoice
Report_payment_status_for_purchase_invoice_v1_accounting_purchase_invoice__id__payment_update_status_post 1 param body → 200400401403422429500503
POST
/v1/accounting/sales-credit-note/
Create A Sales Credit Note
Create_a_sales_credit_note_v1_accounting_sales_credit_note__post body → 200400401403422429500503
GET
/v1/accounting/sales-credit-note/{id}
Retrieve Sales Credit Note
Retrieve_sales_credit_note_v1_accounting_sales_credit_note__id__get 1 param → 200400401403422429500503
PATCH
/v1/accounting/sales-credit-note/{id}
Update Credit Note
Update_credit_note_v1_accounting_sales_credit_note__id__patch 1 param body → 200400401403422429500503
GET
/v1/accounting/sales-credit-note/{id}/documents
Retrieve Sales Credit Note Documents
Retrieve_sales_credit_note_documents_v1_accounting_sales_credit_note__id__documents_get 1 param → 200400401403422429500503
POST
/v1/accounting/sales-credit-note/{id}/refund/update-status
Report Refund Status For Sales Credit Note
Report_refund_status_for_sales_credit_note_v1_accounting_sales_credit_note__id__refund_update_status_post 1 param body → 200400401403422429500503
POST
/v1/accounting/sales-invoice/
Create A Sales Invoice
Create_a_sales_invoice_v1_accounting_sales_invoice__post body → 200400401403422429500503
GET
/v1/accounting/sales-invoice/{id}
Retrieve Sales Invoice
Retrieve_sales_invoice_v1_accounting_sales_invoice__id__get 1 param → 200400401403422429500503
PATCH
/v1/accounting/sales-invoice/{id}
Update Sales Invoice
Update_sales_invoice_v1_accounting_sales_invoice__id__patch 1 param body → 200400401403422429500503
GET
/v1/accounting/sales-invoice/{id}/documents
Retrieve Sales Invoice Documents
Retrieve_sales_invoice_documents_v1_accounting_sales_invoice__id__documents_get 1 param → 200400401403422429500503
POST
/v1/accounting/sales-invoice/{id}/payment/update-status
Report Payment Status For Sales Invoice
Report_payment_status_for_sales_invoice_v1_accounting_sales_invoice__id__payment_update_status_post 1 param body → 200400401403422429500503
GET
/v1/accounting/sync-tasks
List Invoices/Credit Notes To Sync
List_invoices_credit_notes_to_sync_v1_accounting_sync_tasks_get 1 param → 200400401403422429500503
GET
/v1/accounting/sync-tasks/{id}
Get Details Of Invoice/Credit Note To Sync
Get_details_of_Invoice_Credit_note_to_sync_v1_accounting_sync_tasks__id__get 1 param → 200400401403422429500503
POST
/v1/accounting/sync-tasks/{id}/update-status
Report Sync Status For Invoice/Credit Note
Report_sync_status_for_invoice_credit_note_v1_accounting_sync_tasks__id__update_status_post 1 param body → 200400401403422429500503
GET
/v1/accounting/tax-rates
List Tax Rates
List_tax_rates_v1_accounting_tax_rates_get 3 params → 200400401403422429500503
GET
/v1/accounting/tax-rates/{id}
Retrieve Tax Rate
Retrieve_tax_rate_v1_accounting_tax_rates__id__get 1 param → 200400401403422429500503
GET
/v1/accounting/companydeprecated
List Companies (Deprecated)
list_companies__deprecated__v1_accounting_company_get 2 params → 200400401403422429500503
POST
/v1/accounting/companydeprecated
Create Company (Deprecated)
create_company__deprecated__v1_accounting_company_post body → 200400401403422429500503
GET
/v1/accounting/company/{id}deprecated
Get Company (Deprecated)
get_company__deprecated__v1_accounting_company__id__get 1 param → 200400401403422429500503
PUT
/v1/accounting/company/{id}deprecated
Update Company (Deprecated)
update_company__deprecated__v1_accounting_company__id__put 1 param body → 200400401403422429500503
PATCH
/v1/accounting/company/{id}deprecated
Update Company (Deprecated)
update_company__deprecated__v1_accounting_company__id__patch 1 param body → 200400401403422429500503
DELETE
/v1/accounting/company/{id}deprecated
Archive Company (Deprecated)
Archive_company__deprecated__v1_accounting_company__id__delete 1 param → 200400401403422429500503
GET
/v1/accounting/purchase_invoice/{id}deprecated
Retrieve Purchase Invoice (Deprecated)
Retrieve_purchase_invoice__deprecated__v1_accounting_purchase_invoice__id__get 1 param → 200400401403422429500503
PATCH
/v1/accounting/purchase_invoice/{id}deprecated
Update Purchase Invoice (Deprecated)
Update_purchase_invoice__deprecated__v1_accounting_purchase_invoice__id__patch 1 param body → 200400401403422429500503
GET
/v1/accounting/purchase_invoice/{id}/documentsdeprecated
Retrieve Purchase Invoice Documents (Deprecated)
Retrieve_purchase_invoice_documents__deprecated__v1_accounting_purchase_invoice__id__documents_get 1 param → 200400401403422429500503
POST
/v1/accounting/purchase_invoice/{id}/payment/update-statusdeprecated
Report Payment Status For Purchase Invoice (Deprecated)
Report_payment_status_for_purchase_invoice__deprecated__v1_accounting_purchase_invoice__id__payment_update_status_post 1 param body → 200400401403422429500503
GET
/v1/accounting/sales_credit_note/{id}deprecated
Retrieve Sales Credit Note (Deprecated)
Retrieve_sales_credit_note__deprecated__v1_accounting_sales_credit_note__id__get 1 param → 200400401403422429500503
PATCH
/v1/accounting/sales_credit_note/{id}deprecated
Update Credit Note (Deprecated)
Update_credit_note__deprecated__v1_accounting_sales_credit_note__id__patch 1 param body → 200400401403422429500503
GET
/v1/accounting/sales_credit_note/{id}/documentsdeprecated
Retrieve Sales Credit Note Documents (Deprecated)
Retrieve_sales_credit_note_documents__deprecated__v1_accounting_sales_credit_note__id__documents_get 1 param → 200400401403422429500503
POST
/v1/accounting/sales_credit_note/{id}/refund/update-statusdeprecated
Report Refund Status For Sales Credit Note (Deprecated)
Report_refund_status_for_sales_credit_note__deprecated__v1_accounting_sales_credit_note__id__refund_update_status_post 1 param body → 200400401403422429500503
GET
/v1/accounting/sales_invoice/{id}deprecated
Retrieve Sales Invoice (Deprecated)
Retrieve_sales_invoice__deprecated__v1_accounting_sales_invoice__id__get 1 param → 200400401403422429500503
PATCH
/v1/accounting/sales_invoice/{id}deprecated
Update Sales Invoice (Deprecated)
Update_sales_invoice__deprecated__v1_accounting_sales_invoice__id__patch 1 param body → 200400401403422429500503
GET
/v1/accounting/sales_invoice/{id}/documentsdeprecated
Retrieve Sales Invoice Documents (Deprecated)
Retrieve_sales_invoice_documents__deprecated__v1_accounting_sales_invoice__id__documents_get 1 param → 200400401403422429500503
POST
/v1/accounting/sales_invoice/{id}/payment/update-statusdeprecated
Report Payment Status For Sales Invoice (Deprecated)
Report_payment_status_for_sales_invoice__deprecated__v1_accounting_sales_invoice__id__payment_update_status_post 1 param body → 200400401403422429500503

Schemas 80

The contract defines 80 schemas that model the data the API accepts and returns. The most detailed are CompanyDetailOutput (30 properties), CompanyPartialInput (27 properties), CompanyInput (27 properties), LineItem (22 properties). Each schema is shown below with its type and property counts.

LineItem
object
Represents a single invoice/credit line item. Note that a single invoice line can be split up in multiple line items if revenue split is enabled.
22 properties 6 required
SalesCreditNoteOutput
object
15 properties 10 required
CompanyInput
object
27 properties 1 required
PriceListItemReference
object
1 property 1 required
ListTaxRateOutput
object
2 properties 1 required
AvailableTasks
object
1 property 1 required
BasePaymentTerm
object
1 property 1 required
ValidationErrorResponse
object
2 properties 2 required
TaskStatusInput
string
CompanyDetailOutput
object
30 properties 8 required
SalesCompanyFields-Output
object
3 properties
BillingEntity
object
6 properties 5 required
SubcontractorStatus
string
TaskInstanceExecutionMetadata
object
1 property
ExchangeRateInput
object
5 properties 5 required
RefundStatusUpdate
object
1 property 1 required
CurrencyCode
string
api__accounting__models__invoice__TaxRate
object
5 properties
ListCompanyOutput
object
2 properties 1 required
HTTPValidationError
object
1 property
TaxRateType
string
TaxRateInvoiceType
string
SalesInvoicePatchInput
object
1 property
PurchaseCompanyFields-Output
object
3 properties
PaymentStatus
string
ExchangeRate
object
3 properties 2 required
TaskStatus
string
TaskType
string
TaxTypeEnum
string
ExchangeRateOutput
object
6 properties 6 required
SalesCreditNotePatchInput
object
1 property
api__order__models__charge__AccountOutput
object
1 property
PurchaseCreditNote
object
15 properties 10 required
ChargeInput
object
6 properties 2 required
ValidationError
object
3 properties 3 required
TaxRateReference
object
1 property 1 required
SalesInvoiceOutput
object
16 properties 11 required
ListAccountOutput
object
2 properties 1 required
TaskUpdateInput
object
Update task status on completion/failure. The failure field can be used to provide more information on failure.
2 properties 1 required
SalesInvoiceInput
object
9 properties 4 required
TaskPayload
object
Task execution input data.
4 properties 3 required
ListExchangeRateOutput
object
2 properties 1 required
BillingEntityReference
object
1 property 1 required
Document
object
6 properties 4 required
CompanyPartialInput
object
27 properties
RefundStatus
string
PurchaseInvoice
object
16 properties 11 required
CustomerStatus
string
TaskUpdate
object
Update task status result.
1 property 1 required
PurchaseCompanyFields-Input
object
3 properties
SalesCompanyFields-Input
object
3 properties
CompanySummaryOutput
object
17 properties 3 required
ErrorType
string
TaxRateOutput
object
10 properties 9 required
api__accounting__models__company__CompanyReferenceOutput
object
3 properties 2 required
SubjectType
string
ContactType
string
PaymentTermCode
string
BankAccount
object
2 properties
CompanyContactInput
object
7 properties
ExternalExecutionMetadata
object
1 property
ValidationErrorDetail
object
4 properties 1 required
PurchaseCreditNoteInput
object
1 property
CreditPolicyInput
object
1 property
SalesCreditNoteInput
object
8 properties 4 required
LocationOutput
object
13 properties
BaseTaxRate
object
Original base tax rate, before applying customer/transport specific tax rules.
1 property
EInvoicingOutput
object
3 properties
CompanyBillingEntity
object
3 properties
CustomerReference
object
2 properties
api__accounting__models__master_data__AccountOutput
object
5 properties 5 required
CompanyContactOutput
object
6 properties
TaskFailureStatus
object
2 properties 1 required
TaskDetail
object
6 properties 3 required
PurchaseInvoiceInput
object
1 property
BillingLocation
object
10 properties
CompanyReferenceNumbers
object
5 properties
PaymentStatusUpdate
object
1 property 1 required
CreditPolicyOutput
object
1 property
AvailableTask
object
Reference to a task available for processing.
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

qargo-api-accounting-api-openapi.yml Raw ↑

Other APIs Qargo publishes across the network.

Qargo Subcontractor API
Qargo Customer API
Qargo API / Authentication API
Qargo API / Company API
Qargo API / Document API
Qargo API / Order API
Qargo API / Resource API
Qargo API / Task API
Qargo API / Trip API
Qargo System API
Qargo Use case / Accounting API
Qargo Use case / Customer portal API