All URIs are relative to https://api.domeneshop.no/v0
Method | HTTP request | Description |
---|---|---|
FindInvoiceByNumber | Get /invoices/{invoiceId} | Find invoice by invoice number |
GetInvoices | Get /invoices | List invoices |
Invoice FindInvoiceByNumber(ctx, invoiceId)
Find invoice by invoice number
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
invoiceId | int32 | An invoice number |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Invoice GetInvoices(ctx, optional)
List invoices
List invoices for your account. Only invoices from the past 3 years are returned.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetInvoicesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetInvoicesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
status | optional.Interface of Status | Only return invoices with this status |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]