Invoice API
Endpoint Index
Action | Endpoint |
---|---|
Fetch an invoice | GET /invoice/{invoiceLocator} |
Pay an invoice | POST /invoice/{invoiceLocator}/pay |
Write-off an invoice | PATCH /invoice/{invoiceLocator}/writeOff |
Fetch financial transactions for an invoice | GET /invoice/{invoiceLocator}/financialTransactions |
Details
Fetch an invoice¶
GET /invoice/{invoiceLocator}
Name | Position | Type | Required |
---|---|---|---|
invoiceLocator | path | string | required |
Pay an invoice¶
POST /invoice/{invoiceLocator}/pay
Name | Position | Type | Required |
---|---|---|---|
invoiceLocator | path | string | required |
invoicePaymentRequest | body | InvoicePaymentRequest | optional |
InvoicePaymentRequest¶
optionalfieldValues map<string,[string]>payment PaymentCreateRequestpaymentLocator string
Write-off an invoice¶
PATCH /invoice/{invoiceLocator}/writeOff
Name | Position | Type | Required |
---|---|---|---|
invoiceLocator | path | string | required |
Fetch financial transactions for an invoice¶
GET /invoice/{invoiceLocator}/financialTransactions
Name | Position | Type | Required |
---|---|---|---|
invoiceLocator | path | string | required |
GetInvoiceFinancialTransactionsResponse¶
requiredfinancialTransactions [FinancialTransactionResponse]