Edara API v3

Edara API v3: Tax Invoices

Read the guide first: authentication, paging, errors, rate limits and the shared PagedResult, BatchResult and *Reference shapes.

Endpoints

GET /v3/tax-invoices/nr-report: Gets the notes receivable report.

Operation GetNrReport · permission read:tax-invoice-report

Responses: OK TaxInvoiceReportResponse: Notes receivable report. · NotFound ProblemDetails: No report rows were found.

Notes


GET /v3/tax-invoices/np-report: Gets the notes payable report.

Operation GetNpReport · permission read:tax-invoice-report

Responses: OK TaxInvoiceReportResponse: Notes payable report. · NotFound ProblemDetails: No report rows were found.

Notes


POST /v3/tax-invoices/taxable-sales-invoices: Creates a taxable sales invoice.

Operation CreateTaxableSalesInvoice · permission create:taxable-sales-invoice

Body: CreateTaxableSalesInvoiceRequest

field type default validation description
salesOrderCode string NotEmpty() The source sales order code.
invoiceNumber int NotEmpty() .GreaterThan(0) The taxable invoice number to assign.
date DateTime? NotNull() The taxable invoice date.

Responses: Created TaxableSalesInvoiceResponse: Taxable sales invoice created. · NotFound ProblemDetails: The related SI/IO/SO chain could not be resolved.

Business errors (HTTP 409, match on errorCode):

Notes

Types

TaxInvoiceReportColumnResponse

Response describing a tax invoice report column.

field type description
name string The column name.
type string The CLR type name for column values.

TaxInvoiceReportResponse

Response describing a tax invoice report.

field type description
columns IReadOnlyCollection<TaxInvoiceReportColumnResponse> The ordered column definitions.
rows IReadOnlyCollection<TaxInvoiceReportRowResponse> The ordered report rows.

TaxInvoiceReportRowResponse

Response describing a tax invoice report row.

field type description
values IDictionary<string,object> The row values keyed by column name.

TaxableSalesInvoiceResponse

Response describing a created taxable sales invoice.

field type description
invoiceCode string The created invoice code.