Schema
MyInvois Address
Address (registered, business, residential, etc.) of business or individual who will be the supplier in a commercial transaction
Overview
Properties
line_1
This is the main address line in an address structure that can be used to give the main address line information.
1
150
line_2
An additional address line in an address that can be used to give further details supplementing the main line.
1
150
Yes
line_3
An additional address line in an address that can be used to give further details supplementing the main line.
1
150
Yes
post_code
The identifier for an addressable group of properties according to the relevant postal service.
1
50
Yes
city
The common name of the city, town or village, where the Supplier, Buyer and Shipping Recipient address is located.
1
50
state
- If the country is Malaysia, the State code must be used. - For countries other than Malaysia, the actual State name may be stated. - For consolidated submission, State code 17 should be used to indicate “Not Applicable”.
1
50
country_code
A code that identifies the country. Country codes are used to supply precise country information when providing address information as part of the document submission. Country codes used in documents are following ISO-3166 alpha-3 approach.
3
3
Used by
Raw YAML
title: MyInvois Address
type: object
description: 'Address (registered, business, residential, etc.) of business or individual who will be the supplier in a commercial transaction'
x-tags:
- MyInvois
required:
- line_1
- city
- state
- country_code
properties:
line_1:
type: string
description: This is the main address line in an address structure that can be used to give the main address line information.
minLength: 1
maxLength: 150
line_2:
type:
- string
- 'null'
minLength: 1
maxLength: 150
description: An additional address line in an address that can be used to give further details supplementing the main line.
line_3:
type:
- string
- 'null'
minLength: 1
maxLength: 150
description: An additional address line in an address that can be used to give further details supplementing the main line.
post_code:
type:
- string
- 'null'
minLength: 1
maxLength: 50
description: The identifier for an addressable group of properties according to the relevant postal service.
city:
type: string
minLength: 1
maxLength: 50
description: 'The common name of the city, town or village, where the Supplier, Buyer and Shipping Recipient address is located.'
state:
type: string
minLength: 1
maxLength: 50
description: |-
- If the country is Malaysia, the State code must be used.
- For countries other than Malaysia, the actual State name may be stated.
- For consolidated submission, State code 17 should be used to indicate “Not Applicable”.
country_code:
type: string
description: A code that identifies the country. Country codes are used to supply precise country information when providing address information as part of the document submission. Country codes used in documents are following ISO-3166 alpha-3 approach.
maxLength: 3
minLength: 3