SupplierCard
A supplier card.
The Lightyear ID for this object.
When importing the object this field should be omitted or null.
79f53980-7f6b-4d18-ac38-48b60d399e1eThe unique identifier for this object in the source system.
SUP-001The object code identifier.
Usually this will be a human readable value for the object being imported.
SUP-001The supplier name.
ACMEThe supplier's tax number.
GB123456789The supplier's 2 letter ISO country code.
GBThe supplier's 3 letter ISO currency code.
GBPbankAccount object
Bank account details.
Account name.
Account number.
Sort code.
Bank identification number.
International bank account number.
address object
Note the supplier address fields are limited to 50 characters.
Address line 1
124 ACME RoadAddress line 2
SouthgateTown/City
LondonCounty
EnglandPostcode
RR12 8QAterms objectnullable
The supplier payment terms.
The type of payment terms. Possible values:
DO_NOT_POPULATE: Terms will not be set on the supplier.termsDaysnot used.DUE_ON_RECEIPT: Payment due immediately.termsDaysnot used (null).FROM_BILL_DATE: Due X days from the invoice/bill date.termsDaysrequired.FROM_END_OF_MONTH: Due X days after end of month.termsDaysrequired.LAST_DAY_OF_MONTH: Due on the last calendar day of the month.termsDaysnot used.LAST_WORKING_DAY_OF_MONTH: Due on the last working day of the month.termsDaysnot used.USE_EXTRACTED_DUE_DATE: Uses the due date extracted from the invoice.termsDaysnot used (null). Default fallback iftermsTypeis null.
Possible values: [DO_NOT_POPULATE, DUE_ON_RECEIPT, FROM_BILL_DATE, FROM_END_OF_MONTH, LAST_DAY_OF_MONTH, LAST_WORKING_DAY_OF_MONTH, USE_EXTRACTED_DUE_DATE]
FROM_BILL_DATEThe number of days for the payment terms. Only applicable when termsType is FROM_BILL_DATE or FROM_END_OF_MONTH, null otherwise.
30{
"id": "79f53980-7f6b-4d18-ac38-48b60d399e1e",
"sourceID": "SUP-001",
"code": "SUP-001",
"fullName": "ACME",
"taxNumber": "GB123456789",
"countryCode": "GB",
"currency": "GBP",
"bankAccount": {
"accountName": "string",
"accountNumber": "string",
"sortCode": "string",
"bic": "string",
"iban": "string"
},
"address": {
"line1": "124 ACME Road",
"line2": "Southgate",
"line3": "London",
"line4": "England",
"line5": "RR12 8QA"
},
"terms": {
"termsType": "FROM_BILL_DATE",
"termsDays": 30
}
}